Skip to content

T4 Code Snippets Exception Fix #1799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 1, 2018
Merged

Conversation

Christopher-St
Copy link
Contributor

@Christopher-St Christopher-St commented Nov 1, 2018

T4 Snippets using GetCOMService() don't import Microsoft.VisualStudio.TextTemplating causing "Compiling Transformation" Exception.

  • Adds correct import directive to the snippets
  • Adds sentence explaining the import
  • Fixes inconsistent indentation

-Added correct import to code snippet "Getting data from Visual Studio", which would originally throw a  Compiling transformation exception.
-Fixed indentation in snippets
-Undid snippet language change, since I can't find a standard way its done across T4 docs.
-Fixed "Compiling transformation" exception in snippet caused by missing import
@msftclas
Copy link

msftclas commented Nov 1, 2018

CLA assistant check
All CLA requirements met.

@PRMerger7
Copy link
Contributor

@Christopher-St : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.

Copy link
Member

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Christopher-St Thank you!

@gewarren gewarren merged commit c2748c5 into MicrosoftDocs:master Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants