471,325 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

What tool generates Settings.Designer.cs?

Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server,
the app should access a different web service. The web service seems to
be defined in the Settings.Designer.cs (which is a generated file). I
am wondering which tool generates this file.

Thanks.
Feb 14 '06 #1
5 15651
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped settings
or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server, the
app should access a different web service. The web service seems to be
defined in the Settings.Designer.cs (which is a generated file). I am
wondering which tool generates this file.

Thanks.

Feb 15 '06 #2
I don't understand why you say it shouldn't be modified. It is
well-documented how to make your own. Personally, I like this example of
how to do it:

http://www.drewnoakes.com/snippets/W...rVisualStudio/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped settings
or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server, the
app should access a different web service. The web service seems to be
defined in the Settings.Designer.cs (which is a generated file). I am
wondering which tool generates this file.

Thanks.


Feb 15 '06 #3
I was trying to say that the generated file shouldn't be manually modifed.
Sorry for the confusion :-)

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...
I don't understand why you say it shouldn't be modified. It is
well-documented how to make your own. Personally, I like this example of
how to do it:

http://www.drewnoakes.com/snippets/W...rVisualStudio/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped
settings or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server,
the app should access a different web service. The web service seems to
be defined in the Settings.Designer.cs (which is a generated file). I
am wondering which tool generates this file.

Thanks.



Feb 15 '06 #4
Miha Markic [MVP C#] wrote:
I was trying to say that the generated file shouldn't be manually modifed.
Sorry for the confusion :-)


How do I invoke this code generation tool from the command line?
I don't see any SettingsSingleFileGenerator.exe files.
Feb 15 '06 #5
You can't easily afaik - this is a COM component invoked through certain
inerface(s).

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Miha Markic [MVP C#] wrote:
I was trying to say that the generated file shouldn't be manually
modifed. Sorry for the confusion :-)


How do I invoke this code generation tool from the command line?
I don't see any SettingsSingleFileGenerator.exe files.

Feb 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

220 posts views Thread by Brandon J. Van Every | last post: by
53 posts views Thread by Paul Rubin | last post: by
3 posts views Thread by Chris Cioffi | last post: by
9 posts views Thread by cj | last post: by
3 posts views Thread by Navneet Gupta | last post: by
5 posts views Thread by Rainer Queck | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.