Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to change a namespace and automatically all the references are updated?

$
0
0

I'm not sure, I'm asking it in the right place, anyways. 

I create a folder in my project and move some of the xaml (plus c# files) into it. But the namespace doesn't update. How can change the namespace and all the references are updated? 

Eg:

before moving

namespace1

{

class file

{}

}

file.xaml is moved to a new folder called folder1

after moving:

namespace1.folder1

{

class file

{}

}


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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