RE: erroneous missing assembly errors and app.config
- From: v-garych@xxxxxxxxxxxxxxxxxxxx ("Gary Chang[MSFT]")
- Date: Tue, 18 Oct 2005 10:14:49 GMT
Hi Mark,
>What I discovered, though, was that if you change that name
>at all or if you put the file anywhere but in the same directory
>as the .csproj file, the build process won't copy it to the build
>directory and won't name it <myapp>.exe.config. So why
>would the IDE let you change things that would defeat the
>build process?
This behavior is by design in VS2003, if you change its default
name<app.config>, then the generated file will be treated as a common
project file(just as the .txt file), the VS.NET only accepts the
<app.config> as its project's application configuration file, and will copy
it to the output directory.
Thanks
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: erroneous missing assembly errors and app.config
- From: "Gary Chang[MSFT]"
- RE: erroneous missing assembly errors and app.config
- Prev by Date: IDE changing file subtype from 'Form' to 'Code'???
- Next by Date: Add/Modify Intellisense
- Previous by thread: RE: erroneous missing assembly errors and app.config
- Next by thread: RE: Unable to add data connection in Server Explorer, "Key not valid for use in specified state" error
- Index(es):
Relevant Pages
|