it:ad:net:howto:resources

IT:AD:NET


  • Manually compiling Resources: resgen [parameters] [/compile]filename.extension [outputFilename.extension] [/str:lang[,namespace[,class[,file] str stands for Strongly Typed Resource: http://bit.ly/eLlcUj resgen mySource.resx myOutput.resources /publicClass /usesourcepath /str:C#,XAct.App.Properties,MyResources,MyResources.cs

then compile satelite assemblies: http://bit.ly/iaKb4Q al /t:lib /embed:myOutput.fr.resources /culture:fr /out:XAct.App.Resources.fr.dll more advanced is to enherit metadata from a aparent assembly: al /t:lib /embed:myOutput.fr.resources /culture:fr /out:XAct.App.Resources.fr.dll /template:XAct.App.Resources.dll

//resgen [parameters] [/compile]filename.extension [outputFilename.extension] [/str:lang[,namespace[,class[,file]
//str stands for Strongly Typed Resource: http://bit.ly/eLlcUj
resgen mySource.resx myOutput.resources /publicClass /usesourcepath /str:C#,XAct.App.Properties,MyResources,MyResources.cs

//then compile satelite assemblies: http://bit.ly/iaKb4Q
al /t:lib /embed:myOutput.fr.resources /culture:fr /out:XAct.App.Resources.fr.dll
//more advanced is to enherit metadata from a aparent assembly:
al /t:lib /embed:myOutput.fr.resources /culture:fr /out:XAct.App.Resources.fr.dll /template:XAct.App.Resources.dll

 
  • /home/skysigal/public_html/data/pages/it/ad/net/howto/resources.txt
  • Last modified: 2023/11/04 23:00
  • by 127.0.0.1