What are the challenges you face when working across database platforms? Take the survey
Options

SmartAsssembly integrated within VisualStudio 2017 solutions throw an exeception whatever project

Altrought I used SmartAssembly since 2013 on my projects , now i am facing a critical issue with all my project in release mode within VisualStudio 2017 only ; if i open my project from SmartAssembly application everything ok but this is not an acceptable since i used it in severals projects : 
C:\DEV-TFS\NotaScan\_alpha\nsFilesExplorerComputer\nsFilesExplorerComputer.csproj(127,5): error : SmartAssembly build failed:
3>C:\DEV-TFS\NotaScan\_alpha\nsFilesExplorerComputer\nsFilesExplorerComputer.csproj(127,5): error : Une exception a été levée par l'initialiseur de type pour 'SmartAssembly.Program'.
3>C:\DEV-TFS\NotaScan\_alpha\nsFilesExplorerComputer\nsFilesExplorerComputer.csproj : warning : Une exception a été levée par l'initialiseur de type pour 'SmartAssembly.Program'.
3>C:\DEV-TFS\NotaScan\_alpha\nsFilesExplorerComputer\nsFilesExplorerComputer.csproj : warning :    à SmartAssembly.ConsoleApp.Run(String[] )

Here is below my integration within project file :

<UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=6.0.0.0,Culture=neutral, PublicKeyToken=7f465a1c156d4d57" />
  <Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
    <SmartAssembly.MSBuild.Tasks.Build ProjectFile="nsFilesExplorerComputer.saproj" />
  </Target>
Tagged:

Answers

Sign In or Register to comment.