I have a small project(I will add some files later). In VS,From Tools->NuGet Package Manager
dir in my repo
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 8/22/2021 3:28 PM bin
d----- 8/22/2021 6:11 PM obj
-a---- 8/22/2021 6:12 PM 9563 Appointments.csproj
-a---- 8/20/2021 1:57 PM 344 Appointments.csproj.user
------ 7/27/2021 7:13 AM 2100 Appointments.sln
------ 7/27/2021 7:13 AM 1749 Package.appxmanifest
------ 7/27/2021 7:13 AM 1985 SampleConfiguration.cs
------ 7/27/2021 7:13 AM 12184 Scenario1_Define.xaml.cs
------ 7/27/2021 7:13 AM 2334 Scenario2_Add.xaml.cs
------ 7/27/2021 7:13 AM 3991 Scenario3_Replace.xaml.cs
------ 7/27/2021 7:13 AM 3387 Scenario4_Remove.xaml.cs
------ 7/27/2021 7:13 AM 1475 Scenario5_Show.xaml.cs
------ 7/27/2021 7:13 AM 6284 Scenario6_Recurrence.xaml.cs
Nuget Packages for Solution
How to create a NuGet.config file in my repo?
Assuming you have the .NET (Core) SDK installed, and therefore have the dotnet CLI available, run dotnet new nugetconfig in the directory you want the nuget.config file created.
I also recommend using the dotnet cli and/or nuget.exe to edit the file, or edit it with a text editor. The Visual Studio options dialog is not sophisticated enough to know which nuget.config file you want to add a source to (and doesn't provide a gui to edit any setting other than source), so you might find sources and added and deleted from nuget.config files you didn't intend if you use it.
Related
I'm developping a console c# app .NET core 3.0 . I've created a Setup Wizard who contains only principal output.
The problem is when i'm installing my program, the setup install only 2 files.
-ProjectName.dll
-ProjectName.runtimeconfig.json
I can't find the .exe after installation
I need install .NET framework during installation of my program so I configure the installation URL (path on my network) to the .exe of installation but that's not work.
I've go a Build Output without errors nor warnings :
- ------ Starting pre-build validation for project 'ProjectName' ------
- ------ Starting pre-build validation for project 'ProjectName' ------
- ------ Pre-build validation for project 'ProjectName' completed ------
- ------ Pre-build validation for project 'ProjectName' completed ------
- 1>------ Début de la génération : Projet : ProjectName, Configuration : Release ------
- 1>------ Début de la génération : Projet : ProjectName, Configuration : Release ------
- Building file 'C:\Users\blabla\source\repos\Setup_ProjectName\Release\Setup_ProjectName.msi'...
- Building file 'C:\Users\blabla\source\repos\Setup_ProjectName\Release\Setup_ProjectName.msi'...
- Packaging file 'ProjectName.dll'...
- Packaging file 'ProjectName.dll'...
- Packaging file 'ProjectName.runtimeconfig.json'...
- Packaging file 'ProjectName.runtimeconfig.json'...
- ========== Génération : 1 a réussi, 0 a échoué, 1 mis à jour, 0 a été ignoré ==========
Thx for help.
I'm trying to add an ASP.NET Core 3.0 RESTFUL service project (using the API template) to an existing UWP solution. When I add the service project, this is what shows up in VS2019 (16.3.6, since updated to the latest preview release to see if that helped).
Project files and folders not displayed
Project properties are captured in the grab below:
Project Properties screen capture
The template is generating the files from the template correctly. Root folder contains these files:
---- ------------- ------ ----
d----- 27/10/2019 1:07 AM bin
d----- 27/10/2019 1:07 AM Controllers
d----- 27/10/2019 2:58 AM obj
d----- 27/10/2019 1:07 AM Properties
-a---- 27/10/2019 1:07 AM 146 appsettings.Development.json
-a---- 27/10/2019 1:07 AM 192 appsettings.json
-a---- 27/10/2019 1:07 AM 717 EPCSServices.csproj
-a---- 27/10/2019 1:07 AM 720 Program.cs
-a---- 27/10/2019 1:07 AM 1464 Startup.cs
-a---- 27/10/2019 1:07 AM 308 WeatherForecast.cs
And the Controllers folder contains this file, which gets installed by the template:
---- ------------- ------ ----
-a---- 27/10/2019 1:07 AM 1185 WeatherForecastController.cs
But VS2019 is not allowing me to edit them within the IDE. I've tried cleaning the project and solution, and also unloading/reloading the project. I've tried updating the nuget packages using -includePrerelease and installed all the latest .NET Core binaries (including ASP.NET Core, EF Core, NewtonSoft.json, etc). All to no avail. The solution won't build. After build, it throws a single error as per below:
Error NETSDK1004
Assets file '<Path>\EPCSServices\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
EPCSServices
C:\Program Files\dotnet\sdk\3.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets
Line 234
I've done the NuGet package restore using the UI. Obj folder and relevant .json file exist.
VS2019 has also thrown various messages in the output window about the Microsoft.VisualStudio.Web.CodeGeneration.Design nuget package - again updated without luck.
I've tried this using .NET Core 3.0, .NET Core 3.1 (preview), even .NET Core 2.2. Am I unique in having experienced this since the 16.3.6 drop on Friday? I'd like to finish setting up this solution so I can start work coding in anger over the next day or so.
I found out what the problem was. My project was being loaded into a folder containing HTML escape characters as I had spaces in the Azure DevOps project which I cloned the empty repository from.
I confirmed this in a folder that wasn't git-managed and had no special character codes - project unpacked properly as you'd expect.
I then double-confirmed the offending behaviour by creating a folder with an escape-coded space in the folder name, then boom - template build crashed.
So... moral of the story - don't put spaces in your Azure DevOps projects that will end up getting cascaded down to your local repo when you're working on ASP.NET projects. Also... it's kind of amazing that this didn't end up being a better documented problem given how simple it turned out to be.
In our automatic build process we use visual studio command line (by some reasons we can't use msbuild):
devenv.exe /build ....
it was works correctly for years, but recently we moved to other build machine. Sometime (rare) build failed with stgange error. More precisely - here is no error for some projects. Projects started and nothing more:
....
62>C:\Windows\Microsoft.NET\FramModuleork\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:\Autobuild\10.0\dotNET_tc\My.Legacy\bin\x64\Release\My.Legacy.dll", "AMD64". This mismatch may cause runtMye failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
62> My.Srv.User -> D:\GFIN_Autobuild\gfin_10.0\dotNET_tc\My.Srv.User\bin\My.Srv.User.dll
63>------ Build started: Project: My.Srv.Admin, Configuration: Release Any CPU ------
64>------ Build started: Project: My.ExportProcessor, Configuration: Release Any CPU ------
65>------ Build started: Project: My.Srv.MSSQLConnector, Configuration: Release Any CPU ------
66>------ Build started: Project: My.Server.Ita, Configuration: Release Any CPU ------
67>------ Build started: Project: My.Server.Rca, Configuration: Release Any CPU ------
68>------ Build started: Project: My.Server.Module, Configuration: Release Any CPU ------
69>------ Build started: Project: My.Server.DB2, Configuration: Release x64 ------
70>------ Build started: Project: My.Server.Server, Configuration: Release Any CPU ------
71>------ Build started: Project: My.Server.Module.Specific, Configuration: Release Any CPU ------
72>------ Build started: Project: My.Patterns.Data, Configuration: Release x64 ------
73>------ Build started: Project: My.Server.DatabaseWeb, Configuration: Release Any CPU ------
74>------ Build started: Project: My.Srv.Client, Configuration: Release Any CPU ------
========== Build: 59 succeeded, 15 failed, 1 up-to-date, 0 skipped ==========
We change host for out virtual build machine, we reinstall OS on build machine but error still appeared sometime.
Any thoughts?
P.S. we start builds from Jenkins and TeamCity. In both error was reproduced.
I am trying to create a Wix CustomActions Assembly to set installer properties at msi installation time for my VS2012 c# solution. In the IDE when I right click and build the installer for the web service (OU.Curriculum.ProductService) I get the following error:
The system cannot find the file 'obj\Debug\VantageInstallerCustomActions_Generated.wxs' with type 'Source'. candle.exe OU.Curriculum.ProductService.Installer
The last few lines of the build output shows the following:
2> C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe dir O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\obj\Debug\Package\PackageTmp\ -cg OU.Curriculum.ProductService_Generated -dr INSTALLFOLDER -scom -sreg -srd -var var.OU.Curriculum.ProductService_Generated.Target -gg -sfrag -t O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService.Installer\WsxExcludeWebConfig.xslt -out obj\Debug\OU.Curriculum.ProductService_Generated.wxs
2> C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\OU.Curriculum.ProductService.csproj -configuration Debug -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname OU.Curriculum.ProductService -ag -sfrag -out obj\Debug\_OU.Curriculum.ProductService.wxs
2> C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe -dVantageInstallerCustomActions_Generated.Target=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\VantageInstallerCustomActions\obj\Debug\Package\PackageTmp\ -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\\" -dSolutionDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\ -dSolutionExt=.sln -dSolutionFileName=OU.Curriculum.Products.sln -dSolutionName=OU.Curriculum.Products -dSolutionPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.Products.sln -dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86 -dProjectDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService.Installer\ -dProjectExt=.wixproj -dProjectFileName=OU.Curriculum.ProductService.Installer.wixproj -dProjectName=OU.Curriculum.ProductService.Installer -dProjectPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService.Installer\OU.Curriculum.ProductService.Installer.wixproj -dTargetDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService.Installer\bin\Debug\ -dTargetExt=.msi -dTargetFileName=OU.Curriculum.ProductService.Installer.msi -dTargetName=OU.Curriculum.ProductService.Installer -dTargetPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService.Installer\bin\Debug\OU.Curriculum.ProductService.Installer.msi -dOU.Curriculum.ProductService.Configuration=Debug -d"OU.Curriculum.ProductService.FullConfiguration=Debug|AnyCPU" -dOU.Curriculum.ProductService.Platform=AnyCPU -dOU.Curriculum.ProductService.ProjectDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\ -dOU.Curriculum.ProductService.ProjectExt=.csproj -dOU.Curriculum.ProductService.ProjectFileName=OU.Curriculum.ProductService.csproj -dOU.Curriculum.ProductService.ProjectName=OU.Curriculum.ProductService -dOU.Curriculum.ProductService.ProjectPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\OU.Curriculum.ProductService.csproj -dOU.Curriculum.ProductService.TargetDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\bin\ -dOU.Curriculum.ProductService.TargetExt=.dll -dOU.Curriculum.ProductService.TargetFileName=OU.Curriculum.ProductService.dll -dOU.Curriculum.ProductService.TargetName=OU.Curriculum.ProductService -dOU.Curriculum.ProductService.TargetPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\OU.Curriculum.ProductService\bin\OU.Curriculum.ProductService.dll -dVantageInstallerCustomActions.Configuration=Debug -d"VantageInstallerCustomActions.FullConfiguration=Debug|x86" -dVantageInstallerCustomActions.Platform=x86 -dVantageInstallerCustomActions.ProjectDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\VantageInstallerCustomActions\ -dVantageInstallerCustomActions.ProjectExt=.csproj -dVantageInstallerCustomActions.ProjectFileName=VantageInstallerCustomActions.csproj -dVantageInstallerCustomActions.ProjectName=VantageInstallerCustomActions -dVantageInstallerCustomActions.ProjectPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\VantageInstallerCustomActions\VantageInstallerCustomActions.csproj -dVantageInstallerCustomActions.TargetDir=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\VantageInstallerCustomActions\bin\Debug\ -dVantageInstallerCustomActions.TargetExt=.dll -dVantageInstallerCustomActions.TargetFileName=VantageInstallerCustomActions.dll -dVantageInstallerCustomActions.TargetName=VantageInstallerCustomActions -dVantageInstallerCustomActions.TargetPath=O:\TFS\Vantage\Curriculum\source\OU.Curriculum.Products-Release2.1-Dev-Violet\VantageInstallerCustomActions\bin\Debug\VantageInstallerCustomActions.dll -out obj\Debug\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixIIsExtension.dll" obj\Debug\VantageInstallerCustomActions_Generated.wxs Product.wxs obj\Debug\Product.Generated.wxs obj\Debug\_OU.Curriculum.ProductService.wxs
2>candle.exe(0,0): error CNDL0103: The system cannot find the file 'obj\Debug\VantageInstallerCustomActions_Generated.wxs' with type 'Source'.
2>Done building project "OU.Curriculum.ProductService.Installer.wixproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
Here is my solution setup:
I'm struggling to understand why "VantageInstallerCustomActions_Generated.wxs" is being requested and causing the error as I have not included it. I can see it in the output but have no idea what has caused it to be added to the candle.exe cmd line. Any ideas how to remove it ?
Update: I believe it may have something to do with my OU.Wix.targets file:
<Project
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="BeforeBuild">
<MSBuild Projects="%(ProjectReference.FullPath)"
Targets="Package"
Properties="Configuration=$(Configuration);Platform=AnyCPU"
Condition="'%(ProjectReference.WebProject)'=='True'" />
<PropertyGroup>
<DefineConstants>%(ProjectReference.Filename)_Generated.Target=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\;</DefineConstants>
<CompilerAdditionalOptions>$(IntermediateOutputPath)%(ProjectReference.Filename)_Generated.wxs</CompilerAdditionalOptions>
<LinkerAdditionalOptions>$(IntermediateOutputPath)%(ProjectReference.Filename)_Generated.wixobj</LinkerAdditionalOptions>
</PropertyGroup>
<HeatDirectory OutputFile="$(IntermediateOutputPath)%(ProjectReference.Filename)_Generated.wxs"
Directory="%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\"
Transforms="$(MSBuildProjectDirectory)\WsxExcludeWebConfig.xslt"
DirectoryRefId="INSTALLFOLDER"
ComponentGroupName="%(ProjectReference.Filename)_Generated"
AutogenerateGuids="false"
GenerateGuidsNow="true"
SuppressCom="true"
SuppressFragments="true"
SuppressRegistry="true"
SuppressRootDirectory="true"
ToolPath="$(WixToolPath)"
Condition="'%(ProjectReference.WebProject)'=='True'"
PreprocessorVariable="var.%(ProjectReference.Filename)_Generated.Target"
/>
</Target>
</Project>
I'm getting this error when building my project, and I can't fix it.
I have two solutions with the same setup projects referenced in both, and probably thus, the problem.
I googled, I look it up here in StackOverflow, and did all what people said that should be done: removing and readding references, and a long etcetera.
I will paste here my output hoping that someone can throw a little ray of hope on me, please..
thanks a lot everybody in advance.
Best,
Manuel.
------ Build started: Project: CPTUtils, Configuration: Debug Any CPU ------
CPTUtils -> D:\Projects\DuboCalc\DataLayer\CPTUtils\bin\Debug\CPTUtils.dll
------ Build started: Project: CPT.Security, Configuration: Debug Any CPU ------
CPT.Security -> D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll
------ Build started: Project: CPTTranslations, Configuration: Debug Any CPU ------
CPTTranslations -> D:\Projects\DuboCalc\DataLayer\CPTTranslations\bin\Debug\CPTTranslations.dll
------ Build started: Project: CPTDB, Configuration: Debug Any CPU ------
CPTDB -> D:\Projects\DuboCalc\DataLayer\CPTDB\bin\Debug\CPTDB.dll
------ Build started: Project: DBManagement, Configuration: Debug Any CPU ------
DBManagement -> D:\Projects\DuboCalc\DataLayer\DBManagement\bin\Debug\DBManagement.dll
------ Build started: Project: DBMGTBaseExtensions, Configuration: Debug Any CPU ------
DBMGTBaseExtensions -> D:\Projects\DuboCalc\DataLayer\DBMGTBaseExtensions\bin\Debug\DBMGTBaseExtensions.dll
------ Build started: Project: Exporter, Configuration: Debug Any CPU ------
Exporter -> D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll
copy "D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll" "D:\Projects\DuboCalc\DuboCalc2.0\bin\Debug\"
copy "D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.pdb" "D:\Projects\DuboCalc\DuboCalc2.0\bin\Debug\"
1 file(s) copied.
1 file(s) copied.
------ Build started: Project: DBMgtRevisioning, Configuration: Debug Any CPU ------
DBMgtRevisioning -> D:\Projects\DuboCalc\DataLayer\DBMgtRevisioning\bin\Debug\DBMgtRevisioning.dll
------ Build started: Project: NetworkTools, Configuration: Debug Any CPU ------
NetworkTools -> D:\Projects\DuboCalc\DataLayer\Tools\NetworkTools\bin\Debug\NetworkTools.dll
------ Build started: Project: DBInstaller, Configuration: Debug Any CPU ------
DBInstaller -> D:\Projects\DuboCalc\DuboCalc2.0\DBInstaller\bin\Debug\DBInstaller.exe
------ Build started: Project: DCClasses, Configuration: Debug Any CPU ------
DCClasses -> D:\Projects\DuboCalc\DCClasses\DCClasses\bin\Debug\DCClasses.dll
------ Build started: Project: XMLReporter, Configuration: Debug Any CPU ------
Consider app.config remapping of assembly "EnvDTE, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "7.0.3300.0" [] to Version "8.0.0.0" [C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblies\EnvDTE.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
XMLReporter -> D:\Projects\DuboCalc\DuboCalc2.0\XMLReporter\bin\Debug\XMLReporter.exe
Done building project "XMLReporter.csproj".
------ Build started: Project: DuboCalc2.0, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The referenced project '..\..\DCClasses\DCClasses\DCClasses\DCClasses.csproj' does not exist.
Consider app.config remapping of assembly "CPT.Security, Culture=neutral, PublicKeyToken=d593bbb549999bfb" from Version "1.0.4314.17230" [D:\Projects\DataLayer\CPTDB\bin\Debug\CPT.Security.dll] to Version "1.0.4402.23887" [D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /main:DuboCalc2._0.Program /reference:D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll /reference:D:\Projects\DataLayer\CPTDB\bin\Debug\CPTDB.dll /reference:D:\Projects\DuboCalc\DataLayer\CPTTranslations\bin\Debug\CPTTranslations.dll /reference:D:\Projects\DuboCalc\DataLayer\CPTUtils\bin\Debug\CPTUtils.dll /reference:D:\Projects\DuboCalc\DuboCalc2.0\DBInstaller\bin\Debug\DBInstaller.exe /reference:D:\Projects\DataLayer\DBManagement\bin\Debug\DBManagement.dll /reference:D:\Projects\DuboCalc\DataLayer\DBMGTBaseExtensions\bin\Debug\DBMGTBaseExtensions.dll /reference:D:\Projects\DuboCalc\DataLayer\DBMgtRevisioning\bin\Debug\DBMgtRevisioning.dll /reference:D:\Projects\DuboCalc\DCClasses\DCClasses\bin\Debug\DCClasses.dll /reference:D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll /reference:..\dll\Infragistics2.Excel.v9.2.dll /reference:..\dll\Infragistics2.Shared.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinChart.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinDataSource.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinGrid.ExcelExport.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinGrid.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinTabControl.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinTree.v9.2.dll /reference:..\dll\Infragistics2.Win.v9.2.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll /reference:D:\Projects\DuboCalc\DataLayer\Tools\NetworkTools\bin\Debug\NetworkTools.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.configuration.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Runtime.Serialization.Formatters.Soap.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /reference:D:\Projects\DuboCalc\DuboCalc2.0\XMLReporter\bin\Debug\XMLReporter.exe /debug+ /debug:full /filealign:512 /nowin32manifest /optimize- /out:obj\Debug\DuboCalc2.0.exe /resource:obj\Debug\DuboCalc2._0.Forms.AxisAnalysisForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.EnvironmentRatiosForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmAbout.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmData.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmSplash.resources /resource:obj\Debug\DuboCalc2._0.Graph.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForProject.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForUpgrade.resources /resource:obj\Debug\DuboCalc2._0.Forms.MassBalanceForm.resources /resource:obj\Debug\DuboCalc2._0.ProjectForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.ProjectPropertiesForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.ReportSelectionForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.SearchResultsForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.TotalOverviewForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.UpdatePreviewForm.resources /resource:obj\Debug\DuboCalc2._0.SearchForm.resources /resource:obj\Debug\DuboCalc2._0.frm_AddMaterialProcess.resources /resource:obj\Debug\DuboCalc2._0.OptionsForm.resources /resource:obj\Debug\DuboCalc2._0.SimpleSearchForm.resources /resource:obj\Debug\DuboCalc2._0.TypeEditor.ExtraPropertiedForm.resources /resource:obj\Debug\DuboCalc2._0.UILongString.resources /resource:obj\Debug\DuboCalc2._0.Forms.VariantAnalysisForm.resources /resource:obj\Debug\DuboCalc2._0.DuboCalcMain.resources /resource:obj\Debug\DuboCalc2._0.Properties.Resources.resources /resource:obj\Debug\DuboCalc2._0.WinFormStrings.resources /resource:Resources\english.resources,DuboCalc2._0.Resources.english.resources /resource:Resources\DuboCalc2._0.i18n.resources,DuboCalc2._0.Resources.DuboCalc2._0.i18n.resources /resource:Entities.bmp,DuboCalc2._0.Entities.bmp /resource:obj\Debug\DuboCalc2.0.exe.licenses /target:winexe /win32icon:DC.ico DCHelp\HelpManager.cs Forms\AxisAnalysisForm.cs Forms\AxisAnalysisForm.Designer.cs Forms\EnvironmentRatiosForm.cs Forms\EnvironmentRatiosForm.Designer.cs Forms\frmAbout.cs Forms\frmAbout.Designer.cs Forms\frmData.cs Forms\frmData.Designer.cs Forms\frmSplash.cs Forms\frmSplash.Designer.cs Forms\Graph.cs Forms\Graph.Designer.cs Forms\LibrarySelectionForm.cs Forms\LibrarySelectionForm.Designer.cs Forms\LibrarySelectionForProject.cs Forms\LibrarySelectionForProject.Designer.cs Forms\LibrarySelectionForUpgrade.cs Forms\LibrarySelectionForUpgrade.Designer.cs Forms\MassBalanceForm.cs Forms\MassBalanceForm.Designer.cs Forms\ProjectPropertiesForm.cs Forms\ProjectPropertiesForm.Designer.cs Forms\ReportSelectionForm.cs Forms\ReportSelectionForm.Designer.cs Forms\SearchResultsForm.cs Forms\SearchResultsForm.Designer.cs Forms\TotalOverviewForm.cs Forms\TotalOverviewForm.Designer.cs Forms\UpdatePreviewForm.cs Forms\UpdatePreviewForm.Designer.cs HelperClasses\DuboCalcSettings.cs HelperClasses\ExcelExporter.cs HelperClasses\ItnterFaces.cs HelperClasses\JSONConverter.cs HelperClasses\ScreenGraber.cs HelperClasses\Utils.cs LibUpdate\LibraryUpdater.cs LibUpdate\ItemComparator.cs ProjectExplorer\GUIMaterial.cs ProjectExplorer\GUIProcess.cs Forms\SearchForm.cs Forms\SearchForm.Designer.cs Forms\DropDownTreeView.cs Forms\frm_AddMaterialProcess.cs Forms\frm_AddMaterialProcess.Designer.cs Forms\ProjectForm.cs Forms\ProjectForm.Designer.cs TypeEditor\CollectionEditor.cs TypeEditor\ExtraPropertiedForm.cs TypeEditor\ExtraPropertiedForm.Designer.cs TypeEditor\LongStringEditor.cs Forms\OptionsForm.cs Forms\OptionsForm.Designer.cs IconManager.cs Icons.cs ProjectExplorer\GUIItemMaterial.cs ProjectExplorer\GUIItemProcess.cs Forms\SimpleSearchForm.cs Forms\SimpleSearchForm.Designer.cs UILongString.cs WinFormStrings.nl-NL.Designer.cs I18n.cs ProjectExplorer\Element.cs Forms\VariantAnalysisForm.cs Forms\VariantAnalysisForm.Designer.cs ProjectExplorer\GUIItem.cs ProjectExplorer\Project.cs ProjectExplorer\XMLHelper.cs DuboCalcMain.cs DuboCalcMain.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs ProjectExplorer\Variant.cs WinFormStrings.Designer.cs
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\DuboCalcMain.cs(22,7): warning CS0105: The using directive for 'System.Data' appeared previously in this namespace
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\DropDownTreeView.cs(48,15): warning CS0108: 'DuboCalc2._0.DropDownTreeView.Margin' hides inherited member 'System.Windows.Forms.Control.Margin'. Use the new keyword if hiding was intended.
c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll: (Related file)
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\frm_AddMaterialProcess.Designer.cs(166,64): warning CS0108: 'DuboCalc2._0.frm_AddMaterialProcess.Name' hides inherited member 'System.Windows.Forms.Control.Name'. Use the new keyword if hiding was intended.
c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll: (Related file)
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\ProjectForm.cs(2263,42): warning CS0168: The variable 'ex' is declared but never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\DuboCalcMain.cs(289,21): warning CS0162: Unreachable code detected
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\ProjectExplorer\Project.cs(668,20): warning CS0219: The variable 'toc_content' is assigned but its value is never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\I18n.cs(28,30): warning CS0168: The variable 'e' is declared but never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\ProjectForm.cs(49,22): warning CS0414: The field 'DuboCalc2._0.ProjectForm.m_multiselect' is assigned but its value is never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\SearchForm.cs(28,22): warning CS0414: The field 'DuboCalc2._0.SearchForm.rename' is assigned but its value is never used
Compile complete -- 0 errors, 9 warnings
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\AL.exe /culture:nl-NL /out:obj\Debug\nl-NL\DuboCalc2.0.resources.dll /template:obj\Debug\DuboCalc2.0.exe /embed:obj\Debug\DuboCalc2._0.WinFormStrings.nl-NL.resources
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\AL.exe /culture:en-US /out:obj\Debug\en-US\DuboCalc2.0.resources.dll /template:obj\Debug\DuboCalc2.0.exe /embed:Resources\english.en-US.resources,DuboCalc2._0.Resources.english.en-US.resources
DuboCalc2.0 -> D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\bin\Debug\DuboCalc2.0.exe
Done building project "DuboCalc2.0.csproj".
------ Starting pre-build validation for project 'DuboCalcInstallNoSQL' ------
WARNING: File 'jit.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'example1.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'Spacetree.css' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'DuboCalcOptions.xml' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'base.css' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'form.html' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'excanvas.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'jit-yc.js' should not be installed into a User's Profile folder because it may not be available to all users.
ERROR: Invalid or unspecified target for shortcut 'DuboCalc 2.1'
ERROR: An error occurred while validating. HRESULT = '80004005'
------ Pre-build validation for project 'DuboCalcInstallNoSQL' completed ------
------ Build started: Project: DuboCalcInstallNoSQL, Configuration: Debug ------
========== Build: 13 succeeded or up-to-date, 1 failed, 0 skipped ==========
I solved this checking the whole project out again and starting from scratch.. took me a whole day, but I fixed it :)