Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch platform of build cause error #13

Closed
CrazyBaran opened this issue Nov 7, 2017 · 0 comments
Closed

Switch platform of build cause error #13

CrazyBaran opened this issue Nov 7, 2017 · 0 comments
Labels

Comments

@CrazyBaran
Copy link

When I try handle bug from #12 I find another bug. When I switch from x64 to x86 I get:
System.BadImageFormatException: Nie można załadować pliku lub zestawu „assemblyName_636456428965025197, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null”. Ten zestaw został skompilowany dla innego procesora.
w System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource)
w System.Reflection.Assembly.Load(Byte[] rawAssembly)
w Tune.Core.DiagnosticAssembly..ctor(DiagnosticEngine engine, String assemblyName, CSharpCompilation compilation) w C:\TestAndOtherStuff\TUNE\Tune.Core\DiagnosticAssembly.cs:wiersz 47
w Tune.Core.DiagnosticEngine.Compile(String script, DiagnosticAssemblyMode mode, DiagnosticAssembyPlatform platform) w C:\TestAndOtherStuff\TUNE\Tune.Core\DiagnosticEngine.cs:wiersz 46
w Tune.UI.MVVM.ViewModels.MainViewModel.d__96.MoveNext() w C:j\TestAndOtherStuff\TUNE\Tune.UI.ViewModels\ViewModels\MainViewModel.cs:wiersz 281

Somewhere AssemblyPlatform is not get properly?

@kkokosa kkokosa closed this as completed in 521acda Nov 7, 2017
@kkokosa kkokosa added the bug label Nov 7, 2017
CrazyBaran added a commit to CrazyBaran/Tune that referenced this issue Nov 7, 2017
Platform binding - resolves kkokosa#13 bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants