Hello Team,
I am getting error -
As the same code is working fine on other machine , could any plz guide what will be the reason, What is missing,
string profiledirectory = "<path for customized profiles>";
IResourceResolver resolver = new CachedResolver(new MultiResolver(ZipSource.CreateValidationSource("pathfor-specification.zip"), new DirectorySource(profiledirectory, new DirectorySourceSettings()
{
IncludeSubDirectories = true,
})
));
ValidationSettings settings = new ValidationSettings()
{
ResourceResolver = resolver,
};
Validator validator = new Validator(settings);
var outcome = validator.Validate(ProfileInstance);