English 中文(简体)
C# WinForm 无法在释放模式中生成
原标题:C# WinForm cannot generate in release mode

我已经将配置更改为释放模式, 但当我建立/ 生成时, 它似乎总是在调试模式中 。

“https://i.sstatic.net/1HDlQ.jpg' alt=“图像”/>

最佳回答

屏幕截图向您展示了适用于发布配置的设置 - 它实际上并没有使该配置成为活动配置 。

要切换配置, 请选择“ 构建 ” 配置管理器... 菜单项, 并从活动解决方案配置下调中选择释放。 或者您应该将配置下调( 见下文截图) 在您的视觉工作室工具栏上 。 这也允许您设置当前构建配置 。

"https://i.sstatic.net/gtIHT.jpg" alt=" Configation 工具栏"/ >

问题回答

暂无回答




相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签