Reputation: 202
All the time when i just create a setup to my Project in Visual Studio 2015 ,just have a xml file.
What i need to do to delete this file? I don't choose any xml file
this is screen what i choose in Application Folder :
Really searched forum etc can't find solution for this . Anyone have the same problem?
EDIT 1
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<userSettings>
<c_sharp_od_nowa.Properties.Settings>
<setting name="Login" serializeAs="String">
<value />
</setting>
<setting name="Password" serializeAs="String">
<value />
</setting>
<setting name="Checkbox_rememberme" serializeAs="String">
<value />
</setting>
</c_sharp_od_nowa.Properties.Settings>
</userSettings>
</configuration>
EDIT 2
I just said bad . When i just install
It create a exe + dlls + this xml fime. How can i hide this xml.
Upvotes: 2
Views: 842
Reputation: 1871
The setup project is including this file myproject.exe.config
because you have an app.config
in your project. If you don't want it, you have to remove the app.config
from the project. You probably need to re-work parts of your project such that this can be done.
Upvotes: 1
Reputation: 1532
you can right click on your main class library and select publish to create setup file from project
or
this link maybe help you.
Upvotes: 0