• MSVC help please?
    4 replies, posted
so here I am trying to compile away and everything compiles nicely until the end in which I get a warning "Input file "C:\GitHub\Online\Bin\Game.Server.exe" is not a DLL, cannot create unmanaged exports." can anyone explain what this might mean and how I might go about fixing such a thing? I do believe this is what's not letting the build succeed. Thanks.
So I had to use Google to find [URL="http://pastebin.com/jduM86G0"]your pastebin[/URL], which contains the build log of your failing build, which told me that you are using some library called [URL="https://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports"]Unmanaged Exports[/URL], which allows you to create DLL files in .NET that can be used from native code. It's ridiculous how you omit all this info in your post. Anyway, the problem seems to be that you are emitting an executable file which cannot export any methods. Change the project to DLL.
[QUOTE=Dienes;42349077]So I had to use Google to find [URL="http://pastebin.com/jduM86G0"]your pastebin[/URL], which contains the build log of your failing build, which told me that you are using some library called [URL="https://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports"]Unmanaged Exports[/URL], which allows you to create DLL files in .NET that can be used from native code. It's ridiculous how you omit all this info in your post. Anyway, the problem seems to be that you are emitting an executable file which cannot export any methods. Change the project to DLL.[/QUOTE] yeah sorry about that. wasn't really thinking i guess. I cant do that because what's trying to be compiled is an executable, not a DLL.
[QUOTE=FrankPetrov;42349883]yeah sorry about that. wasn't really thinking i guess. I cant do that because what's trying to be compiled is an executable, not a DLL.[/QUOTE] Then the project shouldn't be using Unmanaged Exports.
[QUOTE=Dienes;42349975]Then the project shouldn't be using Unmanaged Exports.[/QUOTE] The part thats failing to build is an exe, which requires other parts to be built first which are dlls. thats why its there. However, i dont have it in the references for the Game.Server. so i have no idea why it's being included for that. [editline]29th September 2013[/editline] forget it all. Thanks a lot! i removed it from the references, but i never removed it from the imported packages from the actual csproj file. got it removed and it compiles. thanks again.
Sorry, you need to Log In to post a reply to this thread.