Last post Oct 19, 2012 02:17 AM by Angie xu - MSFT
Oct 12, 2012 06:29 AM|msmolka|LINK
I have project which contains one linked file called vesioninfo which have its won namespace, lets call it mynamespace, and in AssemblyInfo file I have following code:
When I'm trying to use precopiled option with merge (any) I have flowing error:
>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /out:obj\Release\AssemblyInfo\AssemblyInfo.dll /target:library Properties\AssemblyInfo.cs
1>Properties\AssemblyInfo.cs(16,7): Error CS0246: The type or namespace name 'mynamespace' could not be found (are you missing a using directive or an assembly reference?)
Any other publishing options are working (no precompile, or precompile with no merge). The problem is with merging. Even if file is not linked there is a problem and merging is not working.
Oct 19, 2012 02:17 AM|Angie xu - MSFT|LINK
A type or namespace that is used in the program was not found. You might have forgotten to reference (/reference) the assembly
that contains the type, or you might not have correctly qualified its use by using a
note: root reason of
hope it helps you.