Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How can i use $safeprojectname$ and others in my code?

$
0
0

I am trying to create a project template for c# and on the decalaration of the namespace where the code is this:

namespace $safeprojectname$

the IDE gives this error: A namespace cannot directly contain members such as fields or methods.

I don't understand why this error appears because this is exactly what is tells you to do here: https://msdn.microsoft.com/en-us/library/eehb4faa.aspx

Please can someone point me in the right direction?

Much appreciated.

Isaac.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>