Visual Studio Team Services findet Resource nicht?

  • VB.NET
  • .NET (FX) 4.0

Es gibt 23 Antworten in diesem Thema. Der letzte Beitrag () ist von Michdi.

    Visual Studio Team Services findet Resource nicht?

    Guten Abend,
    ich habe mir mal Visual Studio Team Services angeguckt und muss echt sagen, dass das nicht schlecht ist. Alles hat super funktioniert, bis ich die MetroSuite 2.0.dll von Gather eingebunden habe. Lokal auf meinem Rechner lässt sich mein Build deployen, aber der Server gibt mir jedes Mal eine Fehlermeldung:

    Quellcode

    1. ClientController Admin\ClientController Admin\Form1.vb (4, 14)
    2. ClientController Admin\ClientController Admin\Form1.vb(4,14): Error BC30002: Type 'MetroSuite.MetroForm' is not defined.
    3. ClientController Admin\ClientController Admin\Form1.vb (30, 77)
    4. ClientController Admin\ClientController Admin\Form1.vb(30,77): Error BC30590: Event 'Load' cannot be found.
    5. ClientController Admin\ClientController Admin\Form1.vb (34, 108)
    6. ClientController Admin\ClientController Admin\Form1.vb(34,108): Error BC30590: Event 'CheckedChanged' cannot be found.
    7. ClientController Admin\ClientController Admin\Form1.vb (72, 91)
    8. ClientController Admin\ClientController Admin\Form1.vb(72,91): Error BC30590: Event 'FormClosing' cannot be found.
    9. ClientController Admin\ClientController Admin\Form1.vb (76, 93)
    10. ClientController Admin\ClientController Admin\Form1.vb(76,93): Error BC30590: Event 'Click' cannot be found.
    11. ClientController Admin\ClientController Admin\Form1.Designer.vb (4, 14)
    12. ClientController
    13. Admin\ClientController Admin\Form1.Designer.vb(4,14): Error BC30002:
    14. Type 'MetroSuite.MetroForm' is not defined.
    15. ClientController Admin\ClientController Admin\Form1.Designer.vb (197, 40)
    16. ClientController
    17. Admin\ClientController Admin\Form1.Designer.vb(197,40): Error BC30002:
    18. Type 'MetroSuite.MetroSwitch' is not defined.
    19. ClientController Admin\ClientController Admin\Form1.Designer.vb (201, 40)
    20. ClientController
    21. Admin\ClientController Admin\Form1.Designer.vb(201,40): Error BC30002:
    22. Type 'MetroSuite.MetroButton' is not defined.
    23. ClientController Admin\ClientController Admin\Form1.Designer.vb (196, 43)
    24. ClientController
    25. Admin\ClientController Admin\Form1.Designer.vb(196,43): Error BC30002:
    26. Type 'MetroSuite.MetroControlBox' is not defined.
    27. ClientController Admin\ClientController Admin\Form1.Designer.vb (198, 38)
    28. ClientController
    29. Admin\ClientController Admin\Form1.Designer.vb(198,38): Error BC30002:
    30. Type 'MetroSuite.MetroLabel' is not defined.
    31. ClientController Admin\ClientController Admin\Form1.Designer.vb (204, 40)
    32. ClientController
    33. Admin\ClientController Admin\Form1.Designer.vb(204,40): Error BC30002:
    34. Type 'MetroSuite.MetroTextbox' is not defined.


    Komischerweise kann ich das ganze auf meinem PC einwandfrei deployen, aber Visual Studio Team Services gibt mir noch eine Warnung:

    Quellcode

    1. C:\Program
    2. Files (x86)\Microsoft Visual
    3. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets
    4. (2041, 5)
    5. C:\Program
    6. Files (x86)\Microsoft Visual
    7. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2041,5):
    8. Warning MSB3245: Could not resolve this reference. Could not locate the
    9. assembly "MetroSuite 2.0". Check to make sure the assembly exists on
    10. disk. If this reference is required by your code, you may get
    11. compilation errors.

    Weiß jemand, wie ich dafür sorge, dass er die Assembly findet?

    Danke,
    Michdi :S
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Wie hast du die Library eingebungen?

    Als Nuget Package? -> Ist im Build der Schritt "Restore" für Nuget vorhanden? -> Hinzufügen
    Die fertige Library deinem Projekt hinzugefügt? -> Die musst du mitschicken/committen (doofe Lösung - fertige Binaries gehören nicht ins Repository)
    Die Library als Projekt hinzugefügt? -> Das musst du ebenfalls mitschicken/committen

    Irgendwo her muss der Buildserver den Code/die Library bekommen, oder glaubst du da sitzen Menschen und suchen für dich die Referenzen die du hinzufügst?

    PS: Daran ist nichts "komisch", das ist völlig normal, fehlende Referenz = kein Build

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „slice“ ()

    Hallo

    Kann mich @slice nur anschliessen.
    Am besten ist es man Bindet alles als NuGet Paket ein.

    Gibt es mal kein NuGet Paket kannst du alternativ die DLL in dein Projekt packen und dafür sorgen das vor dem Build die Datei kopiert wird.
    z.b. mit dem Build-Taks "Copy Files". Siehe Bild



    Dieser Task muss natürlich oberhalb des Builds stehen damit das File zuerst kopiert wird und dann der Buildvorgang startet.

    Nebentipp: Du kannst auch einen eigenen NuGet Server erstellen und dort Pakete reinladen welche dann auch vom TeamFoundation server Restored werden können.
    So mache ich das z.b. mit eigenen Assemblys welche ich in mehrern Projekten verwende (Helper usw.). Funzt prima und man hat nicht nur keine Probleme mit Buildservern sondern hat auch in jedem Projekt immer die aktuelle Version da auch hier Nuget meint das es ein Update gibt. Einfach auf Update klicken und ich habe den neuesten Helper. Genial.
    Für die Automatisierung gibt es auch einen Task welcher dir anhand der Assembly Metadaten ein NuGet-Paket erzeugt. Den "NuGet Packager".

    Grüße
    Sascha
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Danke, das werde ich mal ausprobieren. Ich habe das nur als komisch bezeichnet, weil ich eigentlich gedacht habe, dass er das ganze mit reinlädt.

    UPDATE:
    Ich habe versucht die .dll einzubinden aber ich finde einfach nicht die richtige Funktion es so einzubinden, dass er es beim Build findet. Ich habe es bereits so versucht:


    Wo kann ich die dll hinzufügen, dass er sie findet?:


    Als NuGet-Paket gibt es die MetroSuite ja leider nicht, sonst hätte ich diese Option bevorzugt. Mit einem eigenen NuGet-Server habe ich schon einmal gearbeitet, aber noch nie einen aufgesetzt, dass müsste ich mri sonst mal angucken, wenn es gar keine andere Lösung gibt.

    Hier habe ich es übriegens schon an den Ort gepackt, wo er es angeblich sucht:
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von „Michdi“ ()

    Woher denn? Wenn du von irgendwo auf deiner Platte ne Library auswählst, erzeugt das nur einen Eintrag in der Projekt Konfig, der angibt wo die Library liegt, git (oder was auch immer du benutzt) interessiert sich dafür nicht und so kommt die Library auch nicht auf den Server, was dazu führt das der Build fehlschlägt, weil die Assembly nicht gefunden werden kann.

    @Nofear23m Wenn die Library mit im Projekt liegt und mit committet wird, ist der Copy Schritt unnötig, das mit dem eigenen Nuget Server kann man machen, aber da er von VSTS und nicht TFS redet, muss der über das Internet erreichbar sein.
    Hallo

    Das ein Nuget Server online sein muss versteht sich denke ich von selbst.
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Dass der NuGet-Server übers Internet erreichbar sein muss, war mir schon klar, deswegen will ich das ja eigentlich auch so ungern machen. Oben im Post habe ich noch mein "Versuche" "präsentiert", aber nichts davon klappt... (Ich nutze VSTS einfach noch nicht so lange...)
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Poste mal bitte den Inhalt der ClientController Admin.vbproj Datei.

    @Nofear23m Zwischen "Online" und von überall erreichbar ist ein großer Unterschied, meiner ist zb. nur aus dem LAN erreichbar.
    Hier ist die vbproj-Datei:

    XML-Quellcode

    1. <?xml version="1.0" encoding="utf-8"?>
    2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
    4. <PropertyGroup>
    5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    7. <ProjectGuid>{0D8CE103-0C67-471A-92EE-BB8CB0934905}</ProjectGuid>
    8. <OutputType>WinExe</OutputType>
    9. <StartupObject>ClientController_Admin.My.MyApplication</StartupObject>
    10. <RootNamespace>ClientController_Admin</RootNamespace>
    11. <AssemblyName>ClientController Admin</AssemblyName>
    12. <FileAlignment>512</FileAlignment>
    13. <MyType>WindowsForms</MyType>
    14. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    15. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    16. <TargetFrameworkProfile />
    17. </PropertyGroup>
    18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    19. <PlatformTarget>AnyCPU</PlatformTarget>
    20. <DebugSymbols>true</DebugSymbols>
    21. <DebugType>full</DebugType>
    22. <DefineDebug>true</DefineDebug>
    23. <DefineTrace>true</DefineTrace>
    24. <OutputPath>bin\Debug\</OutputPath>
    25. <DocumentationFile>ClientController Admin.xml</DocumentationFile>
    26. <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
    27. </PropertyGroup>
    28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    29. <PlatformTarget>AnyCPU</PlatformTarget>
    30. <DebugType>pdbonly</DebugType>
    31. <DefineDebug>false</DefineDebug>
    32. <DefineTrace>true</DefineTrace>
    33. <Optimize>true</Optimize>
    34. <OutputPath>bin\Release\</OutputPath>
    35. <DocumentationFile>ClientController Admin.xml</DocumentationFile>
    36. <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
    37. </PropertyGroup>
    38. <PropertyGroup>
    39. <OptionExplicit>On</OptionExplicit>
    40. </PropertyGroup>
    41. <PropertyGroup>
    42. <OptionCompare>Binary</OptionCompare>
    43. </PropertyGroup>
    44. <PropertyGroup>
    45. <OptionStrict>On</OptionStrict>
    46. </PropertyGroup>
    47. <PropertyGroup>
    48. <OptionInfer>On</OptionInfer>
    49. </PropertyGroup>
    50. <ItemGroup>
    51. <Reference Include="MetroSuite 2.0, Version=2.0.1.9, Culture=neutral, PublicKeyToken=7b7d08837f2e598f, processorArchitecture=MSIL">
    52. <SpecificVersion>False</SpecificVersion>
    53. <HintPath>C:\Users\Michel\AppData\Local\Temp\MetroSuite 2.0.dll</HintPath>
    54. </Reference>
    55. <Reference Include="System" />
    56. <Reference Include="System.Data" />
    57. <Reference Include="System.Deployment" />
    58. <Reference Include="System.Drawing" />
    59. <Reference Include="System.Windows.Forms" />
    60. <Reference Include="System.Xml" />
    61. <Reference Include="System.Core" />
    62. <Reference Include="System.Xml.Linq" />
    63. <Reference Include="System.Data.DataSetExtensions" />
    64. <Reference Include="System.Net.Http" />
    65. </ItemGroup>
    66. <ItemGroup>
    67. <Import Include="Microsoft.VisualBasic" />
    68. <Import Include="System" />
    69. <Import Include="System.Collections" />
    70. <Import Include="System.Collections.Generic" />
    71. <Import Include="System.Data" />
    72. <Import Include="System.Drawing" />
    73. <Import Include="System.Diagnostics" />
    74. <Import Include="System.Windows.Forms" />
    75. <Import Include="System.Linq" />
    76. <Import Include="System.Xml.Linq" />
    77. <Import Include="System.Threading.Tasks" />
    78. </ItemGroup>
    79. <ItemGroup>
    80. <Compile Include="ApplicationEvents.vb" />
    81. <Compile Include="cCrypt.vb" />
    82. <Compile Include="Form1.vb">
    83. <SubType>Form</SubType>
    84. </Compile>
    85. <Compile Include="Form1.Designer.vb">
    86. <DependentUpon>Form1.vb</DependentUpon>
    87. <SubType>Form</SubType>
    88. </Compile>
    89. <Compile Include="My Project\AssemblyInfo.vb" />
    90. <Compile Include="My Project\Application.Designer.vb">
    91. <AutoGen>True</AutoGen>
    92. <DependentUpon>Application.myapp</DependentUpon>
    93. </Compile>
    94. <Compile Include="My Project\Resources.Designer.vb">
    95. <AutoGen>True</AutoGen>
    96. <DesignTime>True</DesignTime>
    97. <DependentUpon>Resources.resx</DependentUpon>
    98. </Compile>
    99. <Compile Include="My Project\Settings.Designer.vb">
    100. <AutoGen>True</AutoGen>
    101. <DependentUpon>Settings.settings</DependentUpon>
    102. <DesignTimeSharedInput>True</DesignTimeSharedInput>
    103. </Compile>
    104. <Compile Include="Server.vb" />
    105. </ItemGroup>
    106. <ItemGroup>
    107. <EmbeddedResource Include="Form1.resx">
    108. <DependentUpon>Form1.vb</DependentUpon>
    109. </EmbeddedResource>
    110. <EmbeddedResource Include="My Project\Resources.resx">
    111. <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
    112. <LastGenOutput>Resources.Designer.vb</LastGenOutput>
    113. <CustomToolNamespace>My.Resources</CustomToolNamespace>
    114. <SubType>Designer</SubType>
    115. </EmbeddedResource>
    116. </ItemGroup>
    117. <ItemGroup>
    118. <None Include="My Project\Application.myapp">
    119. <Generator>MyApplicationCodeGenerator</Generator>
    120. <LastGenOutput>Application.Designer.vb</LastGenOutput>
    121. </None>
    122. <None Include="My Project\Settings.settings">
    123. <Generator>SettingsSingleFileGenerator</Generator>
    124. <CustomToolNamespace>My</CustomToolNamespace>
    125. <LastGenOutput>Settings.Designer.vb</LastGenOutput>
    126. </None>
    127. <None Include="App.config" />
    128. </ItemGroup>
    129. <ItemGroup>
    130. <EmbeddedResource Include="bin\Debug\de\MetroSuite 2.0.dll" />
    131. <Content Include="My Project\MetroSuite 2.0.dll" />
    132. </ItemGroup>
    133. <ItemGroup>
    134. <Folder Include="Resources\" />
    135. </ItemGroup>
    136. <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
    137. </Project>


    Bin gerade am Handy, kann sein, dass er den Code nicht richtig formatiert.
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    @slice über was diskutieren wir hier eigendlich? Das Hilft den Threadsteller nicht wirklich.
    Der Buildserver muss den NuGet Server erreichen. Ist der im selben LAN muss er natürlich nicht von "überall" erreichbar sein. Und?
    Irgendwie doof oder? Will ich mal unterwegs Arbeiten habe ich erst wieder ein problem. Es macht schon sinn wenn der NuGet Server auch von überall erreichbar ist. Genauso wie der Build Server.
    Im übrigen gibt es nicht wirklich einen unterschied (was dieses Thema betrifft!!) von VSTS zu TFS. Was den Buildprocess und deren Abhängigkeiten betrifft arbeiten beide fast ident. Und ein TFS ist ja genauso Online.


    @Michdi
    Wenn du probleme mit dem Build hast poste doch mal am besten die Buildserver-Consolenausgabe des Buildvorgangs damit wir sehen können was schief läuft.

    Edit: C:\Users\Michel\AppData\Local\Temp\MetroSuite 2.0.dll Da haben wir ja schon den Fehler. Der Pfad ist natürlich nicht am Buildserver vorhanden.

    Grüße
    Sascha
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Ich habe jetzt versuch, den Ort zu verändern:

    XML-Quellcode

    1. <Reference Include="MetroSuite 2.0, Version=2.0.1.9, Culture=neutral, PublicKeyToken=7b7d08837f2e598f, processorArchitecture=MSIL">
    2. <SpecificVersion>False</SpecificVersion>
    3. <HintPath>$/ClientCommander/ClientController Admin/ClientController Admin/MetroSuite 2.0.dll</HintPath>
    4. </Reference>

    Leider gibt er mir trotzdem die gleiche Fehlermeldung aus:
    Spoiler anzeigen

    Quellcode

    1. C:\Program
    2. Files (x86)\Microsoft Visual
    3. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets
    4. (2041, 5)
    5. C:\Program
    6. Files (x86)\Microsoft Visual
    7. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2041,5):
    8. Warning MSB3267: The primary reference "System.Net.Http", which is a
    9. framework assembly, could not be resolved in the currently targeted
    10. framework. ".NETFramework,Version=v4.0". To resolve this problem, either
    11. remove the reference "System.Net.Http" or retarget your application to a
    12. framework version which contains "System.Net.Http".
    13. C:\Program Files
    14. (x86)\Microsoft Visual
    15. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets
    16. (2041, 5)
    17. C:\Program
    18. Files (x86)\Microsoft Visual
    19. Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2041,5):
    20. Warning MSB3245: Could not resolve this reference. Could not locate the
    21. assembly "MetroSuite 2.0". Check to make sure the assembly exists on
    22. disk. If this reference is required by your code, you may get
    23. compilation errors.
    24. ClientController Admin\ClientController Admin\Form1.vb (4, 14)
    25. ClientController Admin\ClientController Admin\Form1.vb(4,14): Error BC30002: Type 'MetroSuite.MetroForm' is not defined.
    26. ClientController Admin\ClientController Admin\Form1.vb (30, 77)
    27. ClientController Admin\ClientController Admin\Form1.vb(30,77): Error BC30590: Event 'Load' cannot be found.
    28. ClientController Admin\ClientController Admin\Form1.vb (34, 108)
    29. ClientController Admin\ClientController Admin\Form1.vb(34,108): Error BC30590: Event 'CheckedChanged' cannot be found.
    30. ClientController Admin\ClientController Admin\Form1.vb (72, 91)
    31. ClientController Admin\ClientController Admin\Form1.vb(72,91): Error BC30590: Event 'FormClosing' cannot be found.
    32. ClientController Admin\ClientController Admin\Form1.vb (76, 93)
    33. ClientController Admin\ClientController Admin\Form1.vb(76,93): Error BC30590: Event 'Click' cannot be found.
    34. ClientController Admin\ClientController Admin\Form1.Designer.vb (4, 14)
    35. ClientController
    36. Admin\ClientController Admin\Form1.Designer.vb(4,14): Error BC30002:
    37. Type 'MetroSuite.MetroForm' is not defined.
    38. ClientController Admin\ClientController Admin\Form1.Designer.vb (197, 40)
    39. ClientController
    40. Admin\ClientController Admin\Form1.Designer.vb(197,40): Error BC30002:
    41. Type 'MetroSuite.MetroSwitch' is not defined.
    42. ClientController Admin\ClientController Admin\Form1.Designer.vb (201, 40)
    43. ClientController
    44. Admin\ClientController Admin\Form1.Designer.vb(201,40): Error BC30002:
    45. Type 'MetroSuite.MetroButton' is not defined.
    46. ClientController Admin\ClientController Admin\Form1.Designer.vb (196, 43)
    47. ClientController
    48. Admin\ClientController Admin\Form1.Designer.vb(196,43): Error BC30002:
    49. Type 'MetroSuite.MetroControlBox' is not defined.
    50. ClientController Admin\ClientController Admin\Form1.Designer.vb (198, 38)
    51. ClientController
    52. Admin\ClientController Admin\Form1.Designer.vb(198,38): Error BC30002:
    53. Type 'MetroSuite.MetroLabel' is not defined.
    54. ClientController Admin\ClientController Admin\Form1.Designer.vb (204, 40)
    55. ClientController
    56. Admin\ClientController Admin\Form1.Designer.vb(204,40): Error BC30002:
    57. Type 'MetroSuite.MetroTextbox' is not defined.

    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Versuch es mal mit <HintPath>MetroSuite 2.0.dll</HintPath>, die Relativen Pfade gehen von dem Projekt aus, in deinem Fall sind beide in einem Ordner.
    @Nofear23m es ging mir um etwas anderes, aber du hast recht, dem TE hilft es nicht.
    @slice Ich habees jetzt als relativen Pfad eingefügt, damit sind schonmal viele Fehlermeldungen weg. Trotzdem sind noch zwei da:

    Quellcode

    1. vbc (0, 0)
    2. vbc(0,0):
    3. Error BC31509: Unable to open resource file
    4. 'ClientController_Admin.MetroSuite 2.0.dll': Could not find a part of
    5. the path 'D:\a\3\s\ClientController Admin\ClientController
    6. Admin\bin\Debug\de\MetroSuite 2.0.dll'.
    7. Process 'msbuild.exe' exited with code '1'.
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Hallo
    Das ist die Assembly für die Lokalisierung.
    Sollte eigendlich automatisch dort landen.
    Schau mal in der Consolenausgabe ob sie korrekt kopiert wird.
    Hatte schon oft das es am Lehrzeichen im Pfad lag.

    Grüße
    Saacha
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Das könnte mit folgender Stellt in deiner vbproj Datei zu tun haben:

    XML-Quellcode

    1. <ItemGroup>
    2. <EmbeddedResource Include="bin\Debug\de\MetroSuite 2.0.dll" />
    3. <Content Include="My Project\MetroSuite 2.0.dll" />
    4. </ItemGroup>
    Ich habe alles nochmal überprüft, er liefert mir aber immernoch die gleiche Meldung:
    Spoiler anzeigen

    Quellcode

    1. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    2. Build started 2/25/2018 9:02:27 PM.
    3. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" on node 1 (default targets).
    4. ValidateSolutionConfiguration:
    5. Building solution configuration "release|any cpu".
    6. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (1) is building "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (2) on node 1 (default targets).
    7. PrepareForBuild:
    8. Creating directory "bin\Release\".
    9. Creating directory "obj\Release\".
    10. GenerateBindingRedirects:
    11. No suggested binding redirects from ResolveAssemblyReferences.
    12. CoreResGen:
    13. "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\resgen.exe" /useSourcePath /r:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework...
    14. Processing resource file "Form1.resx" into "obj\Release\ClientController_Admin.Form1.resources".
    15. Processing resource file "My Project\Resources.resx" into "obj\Release\ClientController_Admin.Resources.resources".
    16. CoreCompile:
    17. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms,System.Linq,System.Xml.Linq,System.Threading.Tasks /optioncompare:Binary /optionexplicit+ /optionstrict+ /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /nostdlib /platform:AnyCPU /rootnamespace:ClientController_Admin /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /highentropyva- /doc:"obj\Release\ClientController Admin.xml" /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"WindowsForms\",PLATFORM=\"AnyCPU\"" /reference:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Sys...
    18. Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    19. vbc(0,0):
    20. Error BC31509: Unable to open resource file
    21. 'ClientController_Admin.MetroSuite 2.0.dll': Could not find a part of
    22. the path 'D:\a\3\s\ClientController Admin\ClientController
    23. Admin\bin\Debug\MetroSuite 2.0.dll'.
    24. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find a part of the path 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    25. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default targets) -- FAILED.
    26. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default targets) -- FAILED.
    27. Build FAILED.
    28. "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default target) (1) ->
    29. "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default target) (2) ->
    30. (CoreCompile target) ->
    31. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find a part of the path 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    32. 0 Warning(s)
    33. 1 Error(s)
    34. Time Elapsed 00:00:23.51
    35. Process 'msbuild.exe' exited with code '1'.


    Der Fehler:

    Quellcode

    1. vbc(0,0): Error BC31509:
    2. Unable to open resource file 'ClientController_Admin.MetroSuite
    3. 2.0.dll': Could not find a part of the path 'D:\a\3\s\ClientController
    4. Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'.
    5. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find a part of the path 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]


    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Naja. Das mpsste dir aber auffallen. Laut Ausgabe wird ein Releasebuild erstellt. Die Datei was ja aver im Debug Ordner gesucht welcher am Buildserver dann ja nicht existiert.

    Grüße
    Sascha
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Oh, ich bin davon ausgegangen, dass er das als Voreinstellung hat, als debug zu arbeiten, da es ja auch noch den Tab "Release" gibt... Ich habe es jetzt auf debug geändert, bekomme aber trotzdem die gleiche Fehlermeldung, nur diesmal mit debug statt release:
    Spoiler anzeigen

    Quellcode

    1. Build started 2/26/2018 7:51:23 AM.
    2. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" on node 1 (default targets).
    3. ValidateSolutionConfiguration:
    4. Building solution configuration "debug|any cpu".
    5. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (1) is building "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (2) on node 1 (default targets).
    6. PrepareForBuild:
    7. Creating directory "bin\Debug\".
    8. Creating directory "obj\Debug\".
    9. GenerateBindingRedirects:
    10. No suggested binding redirects from ResolveAssemblyReferences.
    11. CoreResGen:
    12. "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\resgen.exe" /useSourcePath /r:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework...
    13. Processing resource file "Form1.resx" into "obj\Debug\ClientController_Admin.Form1.resources".
    14. Processing resource file "My Project\Resources.resx" into "obj\Debug\ClientController_Admin.Resources.resources".
    15. CoreCompile:
    16. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms,System.Linq,System.Xml.Linq,System.Threading.Tasks /optioncompare:Binary /optionexplicit+ /optionstrict+ /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /nostdlib /platform:AnyCPU /rootnamespace:ClientController_Admin /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /highentropyva- /doc:"obj\Debug\ClientController Admin.xml" /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"WindowsForms\",PLATFORM=\"AnyCPU\"" /reference:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4....
    17. Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    18. vbc(0,0):
    19. Error BC31509: Unable to open resource file
    20. 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file
    21. 'D:\a\3\s\ClientController Admin\ClientController
    22. Admin\bin\Debug\MetroSuite 2.0.dll'.
    23. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    24. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default targets) -- FAILED.
    25. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default targets) -- FAILED.
    26. Build FAILED.
    27. "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default target) (1) ->
    28. "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default target) (2) ->
    29. (CoreCompile target) ->
    30. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    31. 0 Warning(s)
    32. 1 Error(s)
    33. Time Elapsed 00:00:21.73
    34. Process 'msbuild.exe' exited with code '1'.


    Ich weiß langsam echt nicht mehr, woran das noch liegen kann. Er sagt am Anfang bei Get Resources ja sogar, dass er sich die MetroSuite 2.0.dll holt:

    Quellcode

    1. Getting App.config
    2. Getting ApplicationEvents.vb
    3. Getting cCrypt.vb
    4. Getting ClientController Admin.vbproj
    5. Getting Form1.Designer.vb
    6. Getting Form1.resx
    7. Getting Form1.vb
    8. Getting MetroSuite 2.0.dll
    9. Getting My Project
    10. Getting Server.vb
    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.



    Hallo

    Das ist auch richtig so. ein Buildserver sollte eigendlich immer ein Release erstellen. alternativ kann man ja auch beides erstellen lassen. Aber nur ein Debugbuild? Naja.
    Die Pfade sollten immer relativ sein so das es egal ist was für ein Build man macht.

    Michdi schrieb:

    Er sagt am Anfang bei Get Resources ja sogar, dass er sich die MetroSuite 2.0.dll holt

    Dann lade jetzt die aktuelle Konsolenausgabe mal in nem Spoiler hoch. (wirklich die komplette bitte).

    Grüße
    Sascha
    If _work = worktype.hard Then Me.Drink(Coffee)
    Seht euch auch meine Tutorialreihe <WPF Lernen/> an oder abonniert meinen YouTube Kanal.

    ## Bitte markiere einen Thread als "Erledigt" wenn deine Frage beantwortet wurde. ##

    Hier ist die komplette Konsolenausgabe:
    Spoiler anzeigen

    Quellcode

    1. Hosted Agent successfully assigned.
    2. Configuring connection settings for Hosted Agent
    3. Starting Hosted Agent
    4. ******************************************************************************
    5. Starting: Phase 1
    6. ******************************************************************************
    7. Current agent version: '2.127.0'
    8. ******************************************************************************
    9. Starting: Initialize Job
    10. ******************************************************************************
    11. Prepare build directory.
    12. Set build variables.
    13. Download all required tasks.
    14. Downloading task: NuGetToolInstaller
    15. Downloading task: NuGetCommand
    16. Downloading task: VSBuild
    17. Downloading task: VSTest
    18. Downloading task: PublishSymbols
    19. Downloading task: CopyFiles
    20. Downloading task: PublishBuildArtifacts
    21. ******************************************************************************
    22. Finishing: Initialize Job
    23. ******************************************************************************
    24. ******************************************************************************
    25. Starting: Get Sources
    26. ******************************************************************************
    27. Prepending Path environment variable with directory containing 'tf.exe'.
    28. Setting environment variable TFVC_BUILDAGENT_POLICYPATH
    29. Querying workspace information.
    30. tf
    31. vc workspace /delete ws_3_3;d7dc3b6b-0136-4400-8e14-3db3a35c6325
    32. /collection:https://michelh.visualstudio.com/ /loginType:OAuth
    33. /login:.,******** /noprompt
    34. tf
    35. vc workspace /new /location:local /permission:Public ws_3_3
    36. /collection:https://michelh.visualstudio.com/ /loginType:OAuth
    37. /login:.,******** /noprompt
    38. tf
    39. vc workfold /unmap /workspace:ws_3_3 $/
    40. /collection:https://michelh.visualstudio.com/ /loginType:OAuth
    41. /login:.,******** /noprompt
    42. tf
    43. vc workfold /map /workspace:ws_3_3 $/ClientCommander D:\a\3\s
    44. /collection:https://michelh.visualstudio.com/ /loginType:OAuth
    45. /login:.,******** /noprompt
    46. tf vc get /version:36 /recursive /overwrite D:\a\3\s /loginType:OAuth /login:.,******** /noprompt
    47. D:\a\3:
    48. Getting s
    49. D:\a\3\s:
    50. Getting .vs
    51. Getting BuildProcessTemplates
    52. Getting ClientCommander Client
    53. Getting ClientController Admin
    54. D:\a\3\s\.vs:
    55. Getting ProjectSettings.json
    56. Getting slnx.sqlite
    57. Getting VSWorkspaceState.json
    58. D:\a\3\s\BuildProcessTemplates:
    59. Getting AzureContinuousDeployment.11.xaml
    60. Getting DefaultTemplate.11.1.xaml
    61. Getting LabDefaultTemplate.11.xaml
    62. Getting UpgradeTemplate.xaml
    63. D:\a\3\s\ClientCommander Client:
    64. Getting ClientCommander Client
    65. Getting ClientCommander Client.sln
    66. D:\a\3\s\ClientCommander Client\ClientCommander Client:
    67. Getting App.config
    68. Getting cCrypt.vb
    69. Getting ClientCommander Client.vbproj
    70. Getting Form1.Designer.vb
    71. Getting Form1.resx
    72. Getting Form1.vb
    73. Getting My Project
    74. D:\a\3\s\ClientCommander Client\ClientCommander Client\My Project:
    75. Getting Application.Designer.vb
    76. Getting Application.myapp
    77. Getting AssemblyInfo.vb
    78. Getting Resources.Designer.vb
    79. Getting Resources.resx
    80. Getting Settings.Designer.vb
    81. Getting Settings.settings
    82. D:\a\3\s\ClientController Admin:
    83. Getting ClientController Admin
    84. Getting ClientController Admin.sln
    85. D:\a\3\s\ClientController Admin\ClientController Admin:
    86. Getting App.config
    87. Getting ApplicationEvents.vb
    88. Getting cCrypt.vb
    89. Getting ClientController Admin.vbproj
    90. Getting Form1.Designer.vb
    91. Getting Form1.resx
    92. Getting Form1.vb
    93. Getting MetroSuite 2.0.dll
    94. Getting My Project
    95. Getting Server.vb
    96. D:\a\3\s\ClientController Admin\ClientController Admin\My Project:
    97. Getting Application.Designer.vb
    98. Getting Application.myapp
    99. Getting AssemblyInfo.vb
    100. Getting Resources.Designer.vb
    101. Getting Resources.resx
    102. Getting Settings.Designer.vb
    103. Getting Settings.settings
    104. ******************************************************************************
    105. Finishing: Get Sources
    106. ******************************************************************************
    107. ******************************************************************************
    108. Starting: Use NuGet 4.3.0
    109. ******************************************************************************
    110. ==============================================================================
    111. Task : NuGet Tool Installer
    112. Description : Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this step to change the version of NuGet used in the NuGet steps.
    113. Version : 0.1.5
    114. Author : Microsoft Corporation
    115. Help : [More Information](https://go.microsoft.com/fwlink/?linkid=852538)
    116. ==============================================================================
    117. Downloading: https://dist.nuget.org/win-x86-commandline/v4.3.0/nuget.exe
    118. Caching tool: NuGet 4.3.0 x64
    119. Using version: 4.3.0
    120. Found tool in cache: NuGet 4.3.0 x64
    121. Using tool path: D:\a\_tool\NuGet\4.3.0\x64
    122. Prepending PATH environment variable with directory: D:\a\_tool\NuGet\4.3.0\x64
    123. ******************************************************************************
    124. Finishing: Use NuGet 4.3.0
    125. ******************************************************************************
    126. ******************************************************************************
    127. Starting: NuGet restore
    128. ******************************************************************************
    129. ==============================================================================
    130. Task : NuGet
    131. Description : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Package Management and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
    132. Version : 2.0.20
    133. Author : Microsoft Corporation
    134. Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613747)
    135. ==============================================================================
    136. C:\Windows\system32\chcp.com 65001
    137. Active code page: 65001
    138. Detected NuGet version 4.3.0.4406 / 4.3.0
    139. SYSTEMVSSCONNECTION exists true
    140. Saving NuGet.config to a temporary config file.
    141. D:\a\_tool\NuGet\4.3.0\x64\nuget.exe
    142. sources Add -NonInteractive -Name NuGetOrg -Source
    143. https://api.nuget.org/v3/index.json -ConfigFile
    144. D:\a\3\Nuget\tempNuGet_15.config
    145. Package Source with Name: NuGetOrg added successfully.
    146. Saving NuGet.config to a temporary config file.
    147. D:\a\_tool\NuGet\4.3.0\x64\nuget.exe
    148. restore "D:\a\3\s\ClientController Admin\ClientController Admin.sln"
    149. -Verbosity Detailed -NonInteractive -ConfigFile
    150. D:\a\3\Nuget\tempNuGet_15.config
    151. NuGet Version: 4.3.0.4406
    152. MSBuild auto-detection: using msbuild version '15.5.180.51428' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
    153. MSBuild P2P timeout [ms]: 120000
    154. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin\msbuild.exe "D:\a\_temp\NuGetScratch\3hc53mvi.03u.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetRestoreTargets="D:\a\_temp\NuGetScratch\3elecpl5.oi1.nugetrestore.targets" /p:RestoreTaskAssemblyFile="D:\a\_tool\NuGet\4.3.0\x64\nuget.exe" /p:RestoreSolutionDirectory="D:\a\3\s\ClientController Admin" /p:RestoreConfigFile="D:\a\3\Nuget\tempNuGet_15.config"
    155. Nothing to do. None of the projects in this solution specify any packages for NuGet to restore.
    156. ******************************************************************************
    157. Finishing: NuGet restore
    158. ******************************************************************************
    159. ******************************************************************************
    160. Starting: Build solution $/ClientCommander/ClientController Admin/ClientController Admin.sln
    161. ******************************************************************************
    162. ==============================================================================
    163. Task : Visual Studio Build
    164. Description : Build with MSBuild and set the Visual Studio version property
    165. Version : 1.126.0
    166. Author : Microsoft Corporation
    167. Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613727)
    168. ==============================================================================
    169. "D:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.126.0\ps_modules\MSBuildHelpers\vswhere.exe"
    170. -version [15.0,16.0) -latest -format json
    171. "C:\Program
    172. Files (x86)\Microsoft Visual
    173. Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe"
    174. "D:\a\3\s\ClientController Admin\ClientController Admin.sln" /nologo
    175. /nr:false
    176. /dl:CentralLogger,"D:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.126.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=3296ee26-1827-4241-897d-22a5c9c4a2cf|SolutionDir=D:\a\3\s\ClientController
    177. Admin"*ForwardingLogger,"D:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.126.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"
    178. /p:platform="any cpu" /p:configuration="debug"
    179. /p:VisualStudioVersion="15.0"
    180. /p:_MSDeployUserAgent="VSTS_28968e22-f233-4feb-9216-854f6b946a33_build_2_15"
    181. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    182. Build started 2/26/2018 7:51:23 AM.
    183. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" on node 1 (default targets).
    184. ValidateSolutionConfiguration:
    185. Building solution configuration "debug|any cpu".
    186. Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (1) is building "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (2) on node 1 (default targets).
    187. PrepareForBuild:
    188. Creating directory "bin\Debug\".
    189. Creating directory "obj\Debug\".
    190. GenerateBindingRedirects:
    191. No suggested binding redirects from ResolveAssemblyReferences.
    192. CoreResGen:
    193. "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\resgen.exe" /useSourcePath /r:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework...
    194. Processing resource file "Form1.resx" into "obj\Debug\ClientController_Admin.Form1.resources".
    195. Processing resource file "My Project\Resources.resx" into "obj\Debug\ClientController_Admin.Resources.resources".
    196. CoreCompile:
    197. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms,System.Linq,System.Xml.Linq,System.Threading.Tasks /optioncompare:Binary /optionexplicit+ /optionstrict+ /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /nostdlib /platform:AnyCPU /rootnamespace:ClientController_Admin /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /highentropyva- /doc:"obj\Debug\ClientController Admin.xml" /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"WindowsForms\",PLATFORM=\"AnyCPU\"" /reference:"D:\a\3\s\ClientController Admin\ClientController Admin\MetroSuite 2.0.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4....
    198. Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    199. vbc(0,0):
    200. Error BC31509: Unable to open resource file
    201. 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file
    202. 'D:\a\3\s\ClientController Admin\ClientController
    203. Admin\bin\Debug\MetroSuite 2.0.dll'.
    204. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    205. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default targets) -- FAILED.
    206. Done Building Project "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default targets) -- FAILED.
    207. Build FAILED.
    208. "D:\a\3\s\ClientController Admin\ClientController Admin.sln" (default target) (1) ->
    209. "D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj" (default target) (2) ->
    210. (CoreCompile target) ->
    211. vbc : error BC31509: Unable to open resource file 'ClientController_Admin.MetroSuite 2.0.dll': Could not find file 'D:\a\3\s\ClientController Admin\ClientController Admin\bin\Debug\MetroSuite 2.0.dll'. [D:\a\3\s\ClientController Admin\ClientController Admin\ClientController Admin.vbproj]
    212. 0 Warning(s)
    213. 1 Error(s)
    214. Time Elapsed 00:00:21.73
    215. Process 'msbuild.exe' exited with code '1'.
    216. ******************************************************************************
    217. Finishing: Build solution $/ClientCommander/ClientController Admin/ClientController Admin.sln
    218. ******************************************************************************
    219. ******************************************************************************
    220. Starting: Post Job Cleanup
    221. ******************************************************************************
    222. ******************************************************************************
    223. Finishing: Post Job Cleanup
    224. ******************************************************************************
    225. ****************************************************************

    Die beste maschinelle Übersetzung der Welt - DeepL Übersetzer
    Alle Zitate, die ich seit dem 1.9.2017 übersetzt habe, wurden vollautomatisch mit DeepL übersetzt.