我正在制作一个Windows服务
。这个服务
每晚都要下载一些东西,因此我想在App.Config中放置URI,以防以后需要更改它。
我想在我的App.Config中编写一个URI。什么会使它无效,我应该如何解决?
<appSettings>
<add key="fooUriString"
value="https://foo.bar.baz/download/DownloadStream?id=5486cfb8c50c9f9a2c1bc43daf7ddeed&login=null&password=null"/>
</appSettings>
我的错误:
- Entity 'login' not defined
- Expecting ';'
- Entity 'password' not defined
- Application Configuration file "App.config" is invalid. An error occurred