Unable to use costura fody with asp.net












0















I have problems using costura fody with the latest build and standard small web services ( both asmx and wcf )



To test this. I build a simple asp.net project (hello world). I am using 2 simple class libraries as references.



[WebMethod] public string HelloWorld() 
{
Class1 c1 = new Class1();
Class2 c2 = new Class2();
return c1.GetData() + c2.GetData();
}


This is working fine without Costura/Fody



Adding latest version of Costura/Fody from github:



When I run it now I get compile errors saying DotNetCompilerPlatform missing :




type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>




The DotNetCompilerPlatform dll is part of the embedded dll's.



Why is this ?



Trying the same with a WCF service I encounter a simular problem.



Regards










share|improve this question

























  • Welcome. Could you describe what problems are you having?

    – Bruno Berisso
    Nov 23 '18 at 18:30











  • Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

    – tdsrhh
    Nov 29 '18 at 5:58











  • Why is this ? What am I missing here ?

    – tdsrhh
    Nov 29 '18 at 5:59











  • Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

    – Bruno Berisso
    Nov 30 '18 at 11:17
















0















I have problems using costura fody with the latest build and standard small web services ( both asmx and wcf )



To test this. I build a simple asp.net project (hello world). I am using 2 simple class libraries as references.



[WebMethod] public string HelloWorld() 
{
Class1 c1 = new Class1();
Class2 c2 = new Class2();
return c1.GetData() + c2.GetData();
}


This is working fine without Costura/Fody



Adding latest version of Costura/Fody from github:



When I run it now I get compile errors saying DotNetCompilerPlatform missing :




type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>




The DotNetCompilerPlatform dll is part of the embedded dll's.



Why is this ?



Trying the same with a WCF service I encounter a simular problem.



Regards










share|improve this question

























  • Welcome. Could you describe what problems are you having?

    – Bruno Berisso
    Nov 23 '18 at 18:30











  • Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

    – tdsrhh
    Nov 29 '18 at 5:58











  • Why is this ? What am I missing here ?

    – tdsrhh
    Nov 29 '18 at 5:59











  • Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

    – Bruno Berisso
    Nov 30 '18 at 11:17














0












0








0








I have problems using costura fody with the latest build and standard small web services ( both asmx and wcf )



To test this. I build a simple asp.net project (hello world). I am using 2 simple class libraries as references.



[WebMethod] public string HelloWorld() 
{
Class1 c1 = new Class1();
Class2 c2 = new Class2();
return c1.GetData() + c2.GetData();
}


This is working fine without Costura/Fody



Adding latest version of Costura/Fody from github:



When I run it now I get compile errors saying DotNetCompilerPlatform missing :




type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>




The DotNetCompilerPlatform dll is part of the embedded dll's.



Why is this ?



Trying the same with a WCF service I encounter a simular problem.



Regards










share|improve this question
















I have problems using costura fody with the latest build and standard small web services ( both asmx and wcf )



To test this. I build a simple asp.net project (hello world). I am using 2 simple class libraries as references.



[WebMethod] public string HelloWorld() 
{
Class1 c1 = new Class1();
Class2 c2 = new Class2();
return c1.GetData() + c2.GetData();
}


This is working fine without Costura/Fody



Adding latest version of Costura/Fody from github:



When I run it now I get compile errors saying DotNetCompilerPlatform missing :




type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>




The DotNetCompilerPlatform dll is part of the embedded dll's.



Why is this ?



Trying the same with a WCF service I encounter a simular problem.



Regards







fody-costura






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 '18 at 5:25







tdsrhh

















asked Nov 23 '18 at 17:09









tdsrhhtdsrhh

13




13













  • Welcome. Could you describe what problems are you having?

    – Bruno Berisso
    Nov 23 '18 at 18:30











  • Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

    – tdsrhh
    Nov 29 '18 at 5:58











  • Why is this ? What am I missing here ?

    – tdsrhh
    Nov 29 '18 at 5:59











  • Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

    – Bruno Berisso
    Nov 30 '18 at 11:17



















  • Welcome. Could you describe what problems are you having?

    – Bruno Berisso
    Nov 23 '18 at 18:30











  • Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

    – tdsrhh
    Nov 29 '18 at 5:58











  • Why is this ? What am I missing here ?

    – tdsrhh
    Nov 29 '18 at 5:59











  • Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

    – Bruno Berisso
    Nov 30 '18 at 11:17

















Welcome. Could you describe what problems are you having?

– Bruno Berisso
Nov 23 '18 at 18:30





Welcome. Could you describe what problems are you having?

– Bruno Berisso
Nov 23 '18 at 18:30













Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

– tdsrhh
Nov 29 '18 at 5:58





Adding latest version of Costura/Fody: When I run it now I get : Linje 12: <system.codedom> Linje 13: <compilers> Linje 14: <compiler language="c#;cs;csharp" extension=".cs" Linje 15: type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Linje 16: warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>

– tdsrhh
Nov 29 '18 at 5:58













Why is this ? What am I missing here ?

– tdsrhh
Nov 29 '18 at 5:59





Why is this ? What am I missing here ?

– tdsrhh
Nov 29 '18 at 5:59













Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

– Bruno Berisso
Nov 30 '18 at 11:17





Try add all this to your question, use the formatting tools to make the code more legible (aka. make the code looks like code). This type of comments are just for short clarifications

– Bruno Berisso
Nov 30 '18 at 11:17












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53450645%2funable-to-use-costura-fody-with-asp-net%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53450645%2funable-to-use-costura-fody-with-asp-net%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python