I'm trying to upgrade the sample app (Voting) from Microsoft using Visual Studio 2019.
During the update I get the following error:
4>FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR: One or more errors occurred. --> AggregateException: One or more errors occurred. --> FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
4>Registration of application type failed.
4>At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\PSModule\ServiceFabricSDK\Publish-UpgradedServiceFabricApplication.ps1:258 char:17
4>+ throw "Registration of application type failed."
4>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4> + CategoryInfo : OperationStopped: (Registration of application type failed.:String) [], RuntimeException
4> + FullyQualifiedErrorId : Registration of application type failed.
The full output is:
1>------ Build started: Project: VotingWeb, Configuration: Debug Any CPU ------
2>------ Build started: Project: VotingData, Configuration: Debug Any CPU ------
2>Waiting for output folder cleanup...
1>Waiting for output folder cleanup...
1>Output folder cleanup has been completed.
2>Output folder cleanup has been completed.
1>VotingWeb -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingWeb\bin\Debug\net472\win7-x64\VotingWeb.exe
2>VotingData -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingData\bin\Debug\net472\win7-x64\VotingData.exe
3>------ Build started: Project: Voting, Configuration: Debug x64 ------
4>------ Publish started: Project: Voting, Configuration: Debug x64 ------
4>Started executing script 'GetApplicationExistence'.
4>Finished executing script 'GetApplicationExistence'.
4>Time elapsed: 00:00:02.7466922
-------- Package started: Project: Voting, Configuration: Debug x64 ------
Das Verzeichnis ist nicht leer.
VotingData -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingData\bin\Debug\net472\win7-x64\VotingData.exe
VotingData -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingData\obj\Debug\net472\win7-x64\PubTmp\Out\
VotingWeb -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingWeb\bin\Debug\net472\win7-x64\VotingWeb.exe
VotingWeb -> C:\DEV\Teamcity test\service-fabric-sample-app\VotingWeb\obj\Debug\net472\win7-x64\PubTmp\Out\
Voting -> C:\DEV\Teamcity test\service-fabric-sample-app\Voting\pkg\Debug
-------- Package: Project: Voting succeeded, Time elapsed: 00:00:34.0353563 --------
4>Started executing script 'Deploy-FabricApplication.ps1'.
4>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'C:\DEV\Teamcity test\service-fabric-sample-app\Voting\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'C:\DEV\Teamcity test\service-fabric-sample-app\Voting\pkg\Debug' -PublishProfileFile 'C:\DEV\Teamcity test\service-fabric-sample-app\Voting\PublishProfiles\Cloud.xml' -DeployOnly:$false -ApplicationParameter:#{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop"
4>Application Type VotingType and Version 1.7.2 was already registered with Cluster, unregistering it...
4>Unregister application type succeeded.
4>Copying application package to image store...
4>Upload to Image Store succeeded
4>Registering application type...
4>Register application type started. Use Get-ServiceFabricApplicationType to query for status.
4>Running Image Builder process ...
4>Downloading application package from 'VotingType' ...
4>Downloaded 101/999 Files (10.1% complete)
4>Downloaded 229/999 Files (22.9% complete)
4>Downloaded 291/999 Files (29.1% complete)
4>Downloaded 363/999 Files (36.3% complete)
4>Downloaded 447/999 Files (44.7% complete)
4>Downloaded 559/999 Files (56.0% complete)
4>Validating package and computing checksums ...
4>FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR: One or more errors occurred. --> AggregateException: One or more errors occurred. --> FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
4>Registration of application type failed.
4>At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\PSModule\ServiceFabricSDK\Publish-UpgradedServiceFabricApplication.ps1:258 char:17
4>+ throw "Registration of application type failed."
4>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4> + CategoryInfo : OperationStopped: (Registration of application type failed.:String) [], RuntimeException
4> + FullyQualifiedErrorId : Registration of application type failed.
4>
4>Finished executing script 'Deploy-FabricApplication.ps1'.
4>Time elapsed: 00:01:44.9589058
4>The PowerShell script failed to execute.
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
How can I find out which file is in use?
And how can I fix it?
Solution:
In case that someone else faces the same issue, the solution for me was to upgrade the application using Powershell and set the CompressPackage parameter in the Copy-ServiceFabricApplicationPackage command.
Helpfull link: https://learn.microsoft.com/de-de/azure/service-fabric/service-fabric-package-apps
Related
I'm having trouble deploying a service onto a local cluster.
...
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.47
-------- Package: Project: Project succeeded, Time elapsed: 00:00:01.8640999 --------
3>Started executing script 'Deploy-FabricApplication.ps1'.
3>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'C:\repo\service\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'C:\repo\service\pkg\Debug' -PublishProfileFile 'C:\repo\service\PublishProfiles\Cloud.xml' -DeployOnly:$false -ApplicationParameter:#{} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'VetoUpgrade' -OverwriteBehavior 'SameAppTypeAndVersion' -SkipPackageValidation:$false -ErrorAction Stop"
3>Test-ServiceFabricApplicationPackage : The BuildLayout of the application in
3>C:\Users\username\AppData\Local\Temp\TestApplicationPackage_269749895297\o40yhtdd.vi3\Debug is invalid. Code is missing
3>for service Service.
3>At C:\Program Files\Microsoft SDKs\Service
3>Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:163 char:38
3>+ ... tionSuccess = (Test-ServiceFabricApplicationPackage $AppPkgPathToUse)
3>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3> + CategoryInfo : InvalidOperation: (:) [Test-ServiceFabricApplicationPackage], FabricImageBuilderValidati
3> onException
3> + FullyQualifiedErrorId : TestApplicationPackageErrorId,Microsoft.ServiceFabric.Powershell.TestApplicationPackage
3>
3>Finished executing script 'Deploy-FabricApplication.ps1'.
3>Time elapsed: 00:00:01.4326464
3>The PowerShell script failed to execute.
========== Build: 1 succeeded or up-to-date, 0 failed, 1 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
The above error message says "...\Debug is invalid. Code is missing for service<>". How exactly do I fix this problem? What code is missing?
+I did attempt creating that file path just in case, only to find out that the filepath seems to be randomly generated. That filepath did not exist before.
+I am running VSTS 2019 with admin privilege.
You are seeing the output of a Powershell command named Test-ServiceFabricApplicationPackage. It is reporting that your package layout has an issue:
The BuildLayout of the application in {folder} is invalid. Code is
missing
You can run this script yourself to reproduce, and fix the package layout issue. Compare your package with a working package, to see where the issue is. Maybe one of your manifest files is missing a CodePackage section?
I have to work on an android application using visual studio. So I started by writing a simple "Hello World" application to print on the console.
It gives the following error:
1>------ Build started: Project: App1, Configuration: Debug Any CPU ------
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> App1 -> C:\Users\soume\Desktop\App1\App1\bin\Debug\App1.dll
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
2>Starting deploy VisualStudio_android-23_x86_phone ...
2>Starting emulator VisualStudio_android-23_x86_phone ...
2>C:\PROGRA~2\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_x86_phone -prop monodroid.avdname=VisualStudio_android-23_x86_phone
2>PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
2>Emulator VisualStudio_android-23_x86_phone cannot be started.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
After looking for "Cannot find AVD system path. Please define ANDROID_SDK_ROOT" on Google, I thought I may have to set up an environment variable. So I added this to the Path list in System Environmental Variable: C:\Users\soume\.android\avd. However, the error has not changed.
Please suggest what is wrong and how to fix this issue.
Thanks in advance.
I have followed the installation instructions found here: https://azure.microsoft.com/en-us/documentation/articles/vs-azure-tools-docker-edit-and-refresh/
and made an empty ASP.Net hello world project. I keep getting this error when I try to build my project:
Error MSB3073 The command "powershell -ExecutionPolicy RemoteSigned .\Docker\DockerTask.ps1 -Build -Environment Debug -Machine 'default'" exited with code 1. HelloWorld C:\dev\HelloWorld\src\HelloWorld\Properties\Docker.targets 37
Upon further digging I get this error:
1>------ Build started: Project: HelloWorld, Configuration: Debug Any CPU ------
1>
1> Build succeeded.
1> 0 Warning(s).
1> 0 Error(s).
1>
1> Time elapsed 00:00:00.0958314
1>
1> .\Docker\DockerTask.ps1 : The term '.\Docker\DockerTask.ps1' is not recognized as the name of a cmdlet, function,
1> script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
1> correct and try again.
1> At line:1 char:1
1> + .\Docker\DockerTask.ps1 -Build -Environment Debug -Machine 'default'
1> + ~~~~~~~~~~~~~~~~~~~~~~~
1> + CategoryInfo : ObjectNotFound: (.\Docker\DockerTask.ps1:String) [], CommandNotFoundException
1> + FullyQualifiedErrorId : CommandNotFoundException
1>
1>C:\dev\HelloWorld\src\HelloWorld\Properties\Docker.targets(37,5): error MSB3073: The command "powershell -ExecutionPolicy RemoteSigned .\Docker\DockerTask.ps1 -Build -Environment Debug -Machine 'default'" exited with code 1.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
I am using Visual Studios 2015 on Windows 10 64bit.
The problem was my working directory was set differently than the default settings. By using the get-location command I was able to figure out where the working directory was and give it the relative path from that directory.
HelloWorld\src\HelloWorld\Docker\DockerTask.ps1
Rightly pointed out by SirJackovich.
The issue was due to a mis-pointed folder path given to msbuild.
To check out what path to modify, follow these steps:
In Properties\Docker.targets,
a. Temporarily change DockerBuildCommand to <DockerBuildCommand>powershell get-location</DockerBuildCommand>.
b. Temporarily change DockerCleanCommand to <DockerCleanCommand>powershell get-location</DockerCleanCommand>.
c. Run build having Docker build target selected (instead of 'IIS Express').
d. From the trace output in the Output window, it will print the folder which is the root for execution. For example, c:\folder1 is the root execution folder for powershell.
e. Lets say DockerTask.ps1 is located in c:\folder1\MyApp\src\App1\DockerTask.ps1. Modify the DockerBuildCommand command within Properties\Docker.targets to point to MyApp\src\App1\DockerTask.ps1. Also Modify the DockerCleanCommand command to point to MyApp\src\App1\DockerTask.ps1.
powershell -ExecutionPolicy RemoteSigned MyApp\src\App1\DockerTask.ps1.ps1 -Build -Environment $(Configuration) -Machine '$(DockerMachineName)' -ClrDebugVersion VS2015U2
powershell -ExecutionPolicy RemoteSigned MyApp\src\App1\DockerTask.ps1 -Clean -Environment $(Configuration) -Machine '$(DockerMachineName)'
f. Rebuild the solution.
This will deploy the image to the default docker environment within docker-machine.
I am compile a sample C# .NET project using build.cmd file. The content of the build.cmd is as bellow.
build.cmd
#echo off
setlocal
set devenv="c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com"
del *.log >nul
%devenv% WindowsFormsApplication3.sln /rebuild "Release" /out WindowsFormsApplication3.log
if ERRORLEVEL 1 GOTO failed
findstr /C:"========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========" WindowsFormsApplication3.log >nul
if ERRORLEVEL 1 GOTO failed
echo *** BUILD SUCCESSFUL ***
pause
goto :EOF
:failed
echo.
echo.
echo *** BUILD FAILED ***
pause
Project compiles properly. But when i opened the log file it hassome error
WindowsFormsApplication3.log
1>------ Rebuild All started: Project: WindowsFormsApplication3, Configuration: Release Any CPU ------
Package 'Code Analysis Package' failed to load.
1> WindowsFormsApplication3 -> E:\Bin\junk\WindowsFormsApplication3\WindowsFormsApplication3\bin\Release\WindowsFormsApplication3.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
I don't why i am getting this error (Package 'Code Analysis Package' failed to load) in log file.
I searched online but did not get any help.
how to solve this problem?
Note: WindowsFormsApplication3 is a sample project. i Opened VS2015 and New Project -> Visual C# -> Windows Form Application. I did not change any thing in the project.
Give Microsoft a chance to analyze and fix the problem.
I created a connect issue because the problem occurs on two PCs that both have vanilla VS 2015 installations.
https://connect.microsoft.com/VisualStudio/feedback/details/2423616/package-code-analysis-package-failed-to-load
Within the next few weeks, a guy from Microsoft will probably comment on that. You can followup there.
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 :)