Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 28, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Error on Build: Duplicate items are not supported by the "Sources" parameter
Michael Wolff
Posts: 4
 
Error on Build: Duplicate items are not supported by the "Sources" parameterYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 12 3:31 PM
fiogf49gjkf0d

I am getting the following error after attempting to add a LoadAction to a form.  Even after deleting the LoadAction, I still get this error.  I looked into the Sage.SnippetLibrary.csproj file and there are 2 identical entries:


 


 


<Compile Include="src\Sage.SnippetLibrary.CSharp.@.fc615c1b-9171-4592-b323-c0bac151e46a.codesnippet.cs" />

 


 


I try deleting one of the lines and deleting the entire build path directory, buyt it keeps regenerating.


 


 


<p>ERROR - c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CSharp.targets(135,9):The item "src\Sage.SnippetLibrary.CSharp.@.ec9567f4-cbce-4824-be64-3667004e1d87.codesnippet.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter.

 


INFO  - Done building project "Sage.SnippetLibrary.csproj" -- FAILED.


INFO  - Build FAILED.


ERROR - Failed to build Sage.SnippetLibrary.CSharp.


 


 

[Reply][Quote]
Alberto Chiesa
Posts: 49
 
Re: Error on Build: Duplicate items are not supported by the "Sources" parameterYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 12 3:37 AM
fiogf49gjkf0d

Probably you already solved it by yourself...


 


It seems something went wrong on your quickforms xmls.


First: changing manually files in the output folder is meaningless, as you already saw by yourself. The build process is going to overwrite everything.


You have to understand where the problem lies: try to open the file


"src\Sage.SnippetLibrary.CSharp.@.ec9567f4-cbce-4824-be64-3667004e1d87.codesnippet.cs"

and check what's inside.


Then, save the contents of the file and try to remove the file from where it's referenced (form load action, change action, business rule, whatever else).


Try to build and check for errors.


Then we will see what's next, to restore the lost snippet.


 


Hope it helps,


 


Alberto

[Reply][Quote]
LCF
Posts: 46
 
Re: Error on Build: Duplicate items are not supported by the "Sources" parameterYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 12 7:43 AM
fiogf49gjkf0d

I had the same problem. In my case I got the error because I had 2 smartparts (forms) with the same name in different entities.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/28/2025 12:30:01 AM