Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

What is equivalent option of -res: of CSC compiler in Visual Studio csproj file

$
0
0

My project has .resources and .cs files.Using command line "csc" i can compile cs files and resources into one library using the following command: csc -res:Message s.de.resources -res:Messages.es.resources -res:Messages.resources Clas s1.cs /target:library

But how do i achieve the same using csproj file.If i use visual studio to compile,there are two file properties"EmbeddedResource" & "Resource". "EmbeddedResource" generates separate satellite assembly for each of the resources file and if compiled using "resource" option the resources are not accessible using ResourceManager class.I want all my .resources file and the cs files to be compiled into one library.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>