? asked in Computers & InternetSoftware · 10 years ago

I'm a C # project and when run with this message but I'm facing an error Inc?

I'm a C # project and when run with this message but I'm facing an error before I even had a run but I run uncertainty messages when running queries s: visual studio cannot start debugging because the debug target. 'C : \ user \ download \ pro \ 1 \ bin \ debug \ 1.exe 'is missing.please build the project and retry, or set the outputath and AssemblyName properties appropriatly yo point at the correct location for the target assembly. An error in the s output shown here:

Error:The item "obj\Debug\_1.Entekhabe_Faktor.resources" was

specified more than once in the "Resources" parameter. Duplicate

items are not supported by the "Resources" parameter.

and even form part of the above mentioned s:

namespace _1

{

partial class Entekhabe_Faktor_1

{

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.IContainer components = null;

/// <summary>

/// Clean up any resources being used.

/// </summary>

/// <param name="disposing">true if managed resources should be disposed; otherwise,

/// false.</param>

protected override void Dispose(bool disposing)

{

if (disposing && (components != null))

{

components.Dispose();

}

base.Dispose(disposing);

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

this.components = new System.ComponentModel.Container();

System.ComponentModel.ComponentResourceManager resources = new

System.ComponentModel.ComponentResourceManager(typeof(Entekhabe_Faktor_1));

this._Ashkan_PCDataSet = new _1._Ashkan_PCDataSet();

this.سند_برای_فاکتورBindingSource = new System.Windows.Forms.BindingSource

(this.components);

this.سند_برای_فاکتورTableAdapter = new

_1._Ashkan_PCDataSetTableAdapters.سند_برای_فاکتورTableAdapter();

this.tableAdapterManager = new _1._Ashkan_PCDataSetTableAdapters.

TableAdapterManager();

this.سند_برای_فاکتورBindingNavigator = new System.Windows.Forms.BindingNavigator

(this.components);

this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();

this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();

this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();

this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();

this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();

this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();

this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();

this.bindingNavigatorSeparator1 = new System.Windows.Fo

1 Answer

Relevance
  • 10 years ago
    Favorite Answer

    This typically happens when people create source files with File | New which DOES NOT put the source file into the project you are trying to build.

    If that is the case make sure you have created a project, and then go to Project | Add and browse to this source file. That will include it and let you build.

Still have questions? Get your answers by asking now.