sq / JSIL

CIL to Javascript Compiler

Home Page:http://jsil.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build process for fresh XNA solution fails (problem with pipeline in ContentProject?)

wischi-chr opened this issue · comments

I'm trying to port a mini game I made for browsers. These are my first steps with XNA and JSIL so I tried to start with baby steps (and failed)

Preconditions

  1. Installed XNA (XNA 4.0 Refresh - https://mxa.codeplex.com/releases) because the XNA Installer from Microsoft I found via Google didn't work
  2. Setup a fresh XNA Solution (automatically creates two projects - game and content)
  3. Build and Start in Visual Studio 2015 - works like a charm
  4. git cloned JSIL (including all submodules) + Build All (JSIL.Profiles.XNA4.dll is present)

Compile with JSILc.exe
jsilc.exe -o "D:\Code\_Anon_\XNA_JSIL_Test\web" "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln"

Output

// Starting out-of-process solution build with ID 'JSIL.Build49C5C6A0'...
// Running target 'Build' of 'D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln' ...
// Generating MSBuild projects for solution 'XNA_JSIL_Test.sln'... 1 project(s) generated.
// Building project 'D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.metaproj'...
__________________________________________________
Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.metaproj", Build Ziel(e):

__________________________________________________
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.metaproj" erstellt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test.csproj" (Standardziele):

__________________________________________________
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test.csproj" erstellt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_TestContent\XNA_JSIL_TestContent.contentpr
oj" (Standardziele):

C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio\v4.0\Microsoft.Xna.GameStudio.ContentPipeline.targets(78,5): error MSB4062: Die BuildContent-Aufgabe konnte nicht aus der Microsoft.Xna.Framewo
rk.Content.Pipeline, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553-Assembly geladen werden. Die Datei oder Assembly "Microsoft.Xna.Framework.Content.Pipeline, Version=4.0.0.0, Cult
ure=neutral, PublicKeyToken=842cf8be1de50553" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. Stellen Sie sicher, dass die <UsingTask>-Deklaration
 korrekt ist, die Assembly und alle zugehörigen Abhängigkeiten verfügbar sind und die Aufgabe eine öffentliche Klasse enthält, die Microsoft.Build.Framework.ITask implementiert.
Die Erstellung des Projekts "XNA_JSIL_TestContent.contentproj" ist abgeschlossen -- FEHLER.
// Compilation failed for target 'Build': Unknown error
// Out-of-process solution build completed successfully.
// Auto-selected the profile 'XNA4' for this project.
// ContentOutputDirectory is not set. Skipping XNA content processing.
// No assemblies specified to translate. Exiting.

Would be great if somebody can give me a hint.
Thanks in advance

This seems like another problem where the XNA build system isn't working right in msbuild. I've never managed to figure out why this happens. Can you try launching a visual studio command prompt?

Yes of course. Every idea is appreciated 😃
(Sorry output is German)

build original Solution

msbuild XNA_JSIL_Test.sln

Microsoft (R)-Buildmodul, Version 14.0.25420.1
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
Der Buildvorgang wurde am 28.10.2016 01:41:38 gestartet.
Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln" auf Knoten "1" (Stan
dardziele).
ValidateSolutionConfiguration:
  Die Projektmappenkonfiguration "Debug|x86" wird erstellt.
ValidateProjects:
  Das Projekt "XNA_JSIL_TestContent" ist in der Projektmappenkonfiguration "Deb
  ug|x86" nicht zum Erstellen ausgewählt.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln" (1) erstellt "D:
\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test.csproj"
(2) auf Knoten "1" (Standardziele).
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSI
L_Test.csproj" (2) erstellt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_J
SIL_TestContent\XNA_JSIL_TestContent.contentproj" (3) auf Knoten "1" (Standardz
iele).
CoreCompile:
  D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\bin\x86\Debug\Cont
  ent\SpriteFont1.xnb is already up to date
Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JS
IL_TestContent\XNA_JSIL_TestContent.contentproj" ist abgeschlossen (Standardzie
le).

ResolveAssemblyReferences:
  Eine Ausschlussliste für das TargetFramework-Profil wird generiert.
EmbedXnaFrameworkRuntimeProfile:
Das Ziel "EmbedXnaFrameworkRuntimeProfile" wird übersprungen, da alle Ausgabeda
teien hinsichtlich der Eingabedateien aktuell sind.
GenerateTargetFrameworkMonikerAttribute:
Das Ziel "GenerateTargetFrameworkMonikerAttribute" wird übersprungen, da alle A
usgabedateien hinsichtlich der Eingabedateien aktuell sind.
CoreCompile:
Das Ziel "CoreCompile" wird übersprungen, da alle Ausgabedateien hinsichtlich d
er Eingabedateien aktuell sind.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
XnaWriteCacheFile:
Das Ziel "XnaWriteCacheFile" wird übersprungen, da alle Ausgabedateien hinsicht
lich der Eingabedateien aktuell sind.
_CopyOutOfDateNestedContentItemsToOutputDirectory:
Das Ziel "_CopyOutOfDateNestedContentItemsToOutputDirectory" wird übersprungen,
 da alle Ausgabedateien hinsichtlich der Eingabedateien aktuell sind.
CopyFilesToOutputDirectory:
  XNA_JSIL_Test -> D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\b
  in\x86\Debug\XNA_JSIL_Test.exe
Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JS
IL_Test\XNA_JSIL_Test.csproj" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln" i
st abgeschlossen (Standardziele).


Der Buildvorgang wurde erfolgreich ausgeführt.
    0 Warnung(en)
    0 Fehler

Verstrichene Zeit 00:00:00.65

build solution created by JSIL

D:\Code\_Anon_\XNA_JSIL_Test>msbuild XNA_JSIL_Test.sln.metaproj
Microsoft (R)-Buildmodul, Version 14.0.25420.1
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 28.10.2016 01:53:29 gestartet.
Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.metaproj" auf Knoten
"1" (Standardziele).
ValidateSolutionConfiguration:
  Die Projektmappenkonfiguration "Debug|x86" wird erstellt.
ValidateProjects:
  Das Projekt "XNA_JSIL_TestContent" ist in der Projektmappenkonfiguration "Deb
  ug|x86" nicht zum Erstellen ausgewählt.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.metaproj" (1) ers
tellt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test
.csproj" (2) auf Knoten "1" (Standardziele).
Das Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSI
L_Test.csproj" (2) erstellt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_J
SIL_TestContent\XNA_JSIL_TestContent.contentproj" (3) auf Knoten "1" (Standardz
iele).
CoreCompile:
  Building SpriteFont1.spritefont -> D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Te
  st\XNA_JSIL_Test\bin\x86\Debug\Content\SpriteFont1.xnb
  Rebuilding because asset is new
  Importing SpriteFont1.spritefont with Microsoft.Xna.Framework.Content.Pipelin
  e.FontDescriptionImporter
  Processing SpriteFont1.spritefont with Microsoft.Xna.Framework.Content.Pipeli
  ne.Processors.FontDescriptionProcessor
  Compiling D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\bin\x86\
  Debug\Content\SpriteFont1.xnb
Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JS
IL_TestContent\XNA_JSIL_TestContent.contentproj" ist abgeschlossen (Standardzie
le).

ResolveAssemblyReferences:
  Eine Ausschlussliste für das TargetFramework-Profil wird generiert.
GenerateTargetFrameworkMonikerAttribute:
Das Ziel "GenerateTargetFrameworkMonikerAttribute" wird übersprungen, da alle A
usgabedateien hinsichtlich der Eingabedateien aktuell sind.
CoreCompile:
  C:\Program Files (x86)\MSBuild\14.0\bin\csc.exe /noconfig /nowarn:1701,1702 /
  nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:DEBUG;TRACE;WINDO
  WS /highentropyva- /reference:"C:\Program Files (x86)\Microsoft XNA\XNA Game
  Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll" /reference:"C
  :\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x
  86\Microsoft.Xna.Framework.Game.dll" /reference:"C:\Program Files (x86)\Micro
  soft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.
  GamerServices.dll" /reference:"C:\Program Files (x86)\Microsoft XNA\XNA Game
  Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Graphics.dll" /ref
  erence:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETF
  ramework\v4.0\Profile\Client\mscorlib.dll" /reference:"C:\Program Files (x86)
  \Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\S
  ystem.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Micro
  soft\Framework\.NETFramework\v4.0\Profile\Client\System.dll" /reference:"C:\P
  rogram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.
  0\Profile\Client\System.Net.dll" /reference:"C:\Program Files (x86)\Reference
   Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.
  dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framew
  ork\.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll" /debug+ /debug:ful
  l /optimize- /out:obj\x86\Debug\XNA_JSIL_Test.exe /resource:obj\x86\Debug\Mic
  rosoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfil
  e /target:winexe /utf8output /win32icon:Game.ico Properties\AssemblyInfo.cs P
  rogram.cs Game1.cs "C:\Users\_Anon_\AppData\Local\Temp\.NETFramework,Version=
  v4.0,Profile=Client.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: C:\Program Files (x86)
  \MSBuild\14.0\bin
_CopyFilesMarkedCopyLocal:
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.dll" in "bin\x86\Debug\Micros
  oft.Xna.Framework.dll" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Game.dll" in "bin\x86\Debug\M
  icrosoft.Xna.Framework.Game.dll" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.GamerServices.dll" in "bin\x8
  6\Debug\Microsoft.Xna.Framework.GamerServices.dll" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Graphics.dll" in "bin\x86\Deb
  ug\Microsoft.Xna.Framework.Graphics.dll" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Input.Touch.dll" in "bin\x86\
  Debug\Microsoft.Xna.Framework.Input.Touch.dll" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.xml" in "bin\x86\Debug\Micros
  oft.Xna.Framework.xml" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Game.xml" in "bin\x86\Debug\M
  icrosoft.Xna.Framework.Game.xml" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Graphics.xml" in "bin\x86\Deb
  ug\Microsoft.Xna.Framework.Graphics.xml" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.GamerServices.xml" in "bin\x8
  6\Debug\Microsoft.Xna.Framework.GamerServices.xml" kopiert.
  Die Datei wird von "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0
  \References\Windows\x86\Microsoft.Xna.Framework.Input.Touch.xml" in "bin\x86\
  Debug\Microsoft.Xna.Framework.Input.Touch.xml" kopiert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,37)" aufgeführte
Ziel "_ConvertPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (34,70)" aufgeführte Z
iel "_CollectPdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
Das in einem BeforeTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mi
crosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,38)" aufgeführte
Ziel "_CollectMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert
.
Das in einem AfterTargets-Attribut bei "C:\Program Files (x86)\MSBuild\14.0\Mic
rosoft.Common.targets\ImportAfter\Xamarin.Common.targets (41,71)" aufgeführte Z
iel "_CopyMdbFiles" ist nicht im Projekt vorhanden und wird daher ignoriert.
_CopyOutOfDateNestedContentItemsToOutputDirectory:
Das Ziel "_CopyOutOfDateNestedContentItemsToOutputDirectory" wird übersprungen,
 da alle Ausgabedateien hinsichtlich der Eingabedateien aktuell sind.
CopyFilesToOutputDirectory:
  Die Datei wird von "obj\x86\Debug\XNA_JSIL_Test.exe" in "bin\x86\Debug\XNA_JS
  IL_Test.exe" kopiert.
  XNA_JSIL_Test -> D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JSIL_Test\b
  in\x86\Debug\XNA_JSIL_Test.exe
  Die Datei wird von "obj\x86\Debug\XNA_JSIL_Test.pdb" in "bin\x86\Debug\XNA_JS
  IL_Test.pdb" kopiert.
Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test\XNA_JS
IL_Test\XNA_JSIL_Test.csproj" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "D:\Code\_Anon_\XNA_JSIL_Test\XNA_JSIL_Test.sln.me
taproj" ist abgeschlossen (Standardziele).


Der Buildvorgang wurde erfolgreich ausgeführt.
    0 Warnung(en)
    0 Fehler

Verstrichene Zeit 00:00:01.50

Getting closer...
I inspected the .metaproj file and found out that there are different msbuild locations

C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework64

compiling the project with the x86 msbuild works but building with the Framework64 msbuild fails with the exact same message as JSIL

Is there a way to tell JSIL which msbuild should be used?

Did you use x86 JSIL?

Cleaned Solution (+deleted everything in the bin folder) rebuilt Compiler.Executor.32bit with x86 platform (not sure if that's what you mean with x86 JSIL) building the test solution still fails (because Framework64 msbuild is used) - currently I'm setting up a vm to test it.

A VM for reproduction would be great for testing and reproducing this! One
caveat is that XNA's build system misbehaves some if it doesn't have access
to a working D3D9 device.

On 1 November 2016 at 09:43, wischi notifications@github.com wrote:

Cleaned Solution (+deleted everything in the bin folder) rebuilt
Compiler.Executor.32bit with x86 platform (not sure if that's what you mean
with x86 JSIL) building the test solution still fails (because Framework64
msbuild is used) - currently I'm setting up a vm to test it.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1022 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMF8hIGDwyvUtIhxuOCQoR58xB0PUlqks5q52wngaJpZM4Ki6JM
.

I'm facing exactly the same problem when trying to build my XNA game with JSIL. I can build .exe file, but the error(MSB4062) come when I build .sln with contents.

I tried to build content separately by using github.com/dmirmilshteyn/JSILContentManifestGenerator to get GameContent.contentproj.manifest.js
, but it caused error "Uncaught Microsoft.Xna.Framework.Content.ContentLoadException: The asset 'xxxxxx' is not in the asset manifest." when the game ran on browser.

Are there any way to register the asset to the manifest without building the entire solution with JSIL?

Update
the solution can be built sucessfully with JSILc.exe on 32bit machine