Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

codedom compile errors after editing .txt

I have a .txt stub file in resources and when i copy the code to a .vb file in my project for easyer editing and paste it back into the .txt stub it compiles with errors even when i change the code back to when it was working.
Im using vs2015 i have been away from hf and done no coding for years and when i was using vs2010 never had this problem maybe there is somthing different in the software that im missing, would be great to get some help with this as its driving me nutz.
✌
[Image: EsBLUZe.jpg]
So what errors are you getting? Have you taken a look at the CompilerResults class?

Perhaps you forgot to add the appropriate referenced assemblies.

Also, there's no need for a .txt file stub. You can just add a .cs file as resource (Add Resource > Add Existing File). Makes everything a whole lot easier.
Thanks for the advise, my code was fine i solved the issue by turning off "Pretty Listing (Reformatting) of Code" in the settings. 👍
[Image: EsBLUZe.jpg]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Cyber "Max" ShamanJan 25, 2022 08:56 PM 3 185 Jan 25, 2022 08:56 PM
Last Post: Cyber "Max" Shaman
[.NET] by M O D E R NJun 7, 2018 02:51 PM 10 283 Jun 7, 2018 02:51 PM
Last Post: M O D E R N
[.NET] by Haxor1974Oct 31, 2017 08:44 PM 2 159 Oct 31, 2017 08:44 PM
Last Post: ppaida