Questions tagged [sgen.exe]

6 questions
8
votes
6 answers

SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x8013141A)

VS 2010, win server 2003, .Net 3.5 solution, which were migurated from .Net 1.1 All projects in solution are Delay signed. The soluton can be build successfully for Debug, but always failed for Release with following error. SGEN : error : Could not…
Yadong
  • 411
  • 2
  • 5
  • 15
3
votes
1 answer

Can't Build Project In Visual Studio 2022 Due To XmlSerialization (sgen.exe) And Can't Disable

I'm getting this error when I compile my project written in VS 2019 in dotnet which I've just migrated to dotnet core 6.0 and loaded into VS 2022. Error MSB6003 The specified task executable "sgen.exe" could not be run.…
Adamant
  • 51
  • 4
1
vote
2 answers

Build VS2010 solution using MSBuild 2008

Our dev team recently upgraded solution to VS2010 from VS2008 to use some of the features from VS2010 IDE. But our targeted framework is still .Net 3.5. When dev runs the MSBuild from VS 2008 command prompt to build VS2010 solution, build was…
1
vote
1 answer

What type of things can cause sgen msbuild task to fail intermittantly with Access Violation?

In our MSBuild file for our project we sgen an assembly containing classes used during xml serialization. The classes are generated via xsd.exe. We use the following SGen task configuration.
Mark Allanson
  • 1,368
  • 1
  • 10
  • 19
1
vote
0 answers

Problems with sgen.exe & Oracle.DataAccess.dll (Visual Studio 2012)

We tried to migrate our webservice project to Visual Studio 2012 from Visual Studio 2010. The project uses the Oracle.DataAccess.dll (v 11.2.0.3 32 and 64 Bit) and we create *.XmlSerializers.dll with sgen.exe. The sgen.exe always fails to create the…
Andre Fly
  • 156
  • 9
0
votes
1 answer

Missing sgen.exe

I’m trying to build NopCommerce via the .BAT files that came with the project but I get an error saying I’m missing sgen.exe. I’ve had a look in all the places it should be and done a search on my computer and it is missing. I have VWD2010, .NET…
user903601