dotnet / dotnet/samples

Duplicated files

Open
#1,395 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
9h 11m
Merged PRs (30d)
1

Description

File 1:
https://github.com/dotnet/samples/blob/master/snippets/csharp/VS_Snippets_Remoting/Classic%20WebServiceBindingAttribute.Location%20Example/CS/sourcecs.asmx

File 2:
https://github.com/dotnet/samples/blob/master/snippets/csharp/VS_Snippets_Remoting/Classic%20WebServiceBindingAttribute.WebServiceBindingAttribute3%20Example/CS/sourcecs.asmx

Also it doesn't render correctly in the [Live dotnet api docs](https://docs.microsoft.com/en-us/dotnet/api/system.web.services.webservicebindingattribute.location?view=netframework-4.8)

The article .md file refers to the snippet1 in that file, however, all the file is rendered even with the `// ` comment. The code snippet is also not colored properly.

Screenshot:
![image](https://user-images.githubusercontent.com/31348972/64072156-23d18e80-cc8a-11e9-816b-cc9f6a999c9b.png)

Should the `// ` comments be removed like the #1060 PR done by @mairaw ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.